diamond_fab
diamond_fab copied to clipboard
error with example code
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);