How to fix FlatButton and RaiseButton Error in flutter
Please i don't explicitly use RaiseButton or FlatButton in my code. But i get this error ../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:269:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformButton'. - 'PlatformButton' is from 'package:flutter_platform_widgets/src/platform_button.dart' ('../../snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart'). Try correcting the name to the name…