diamond_fab icon indicating copy to clipboard operation
diamond_fab copied to clipboard

error with example code

Open rayBlock opened this issue 7 years ago • 0 comments

I copied the code from example and installed the package. That's the error message i get

'package:diamond_fab/diamond_fab.dart': error: line 203 pos 18: flutter: file:///Users/flutter/.pub-cache/hosted/pub.dartlang.org/diamond_fab-0.1.1/lib/diamond_fab.dart:203:18: flutter: Error: Method not found: 'Scaffold.setFloatingActionButtonNotchFor'. flutter: Scaffold.setFloatingActionButtonNotchFor(context, _computeNotch); flutter: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ flutter: Scaffold.setFloatingActionButtonNotchFor(context, _computeNotch);

rayBlock avatar Oct 24 '18 16:10 rayBlock