FlatButton widget is now deprecated in flutter and soon will be removed, which might cause this application to not run.(https://docs.flutter.dev/release/breaking-changes/buttons). Hence all the FlatButton widgets in the application should be replaced with TextButton widget. I have replaced those FlatButtons with TextButtons.
FlatButton widget is now deprecated in flutter and soon will be removed, which might cause this application to not run.(https://docs.flutter.dev/release/breaking-changes/buttons). Hence all the FlatButton widgets in the application should be replaced with TextButton widget. I have replaced those FlatButtons with TextButtons.