Use deprecated legacy buttons.
RaisedButton
FlatButton
and OutlineButton
import'package:legacy_buttons/legacy_buttons.dart';
Use LegacyRaisedButton
alternative to RaisedButton
LegacyRaisedButton(
onPressed: () {
print("Clicked LegacyRaiseButton");
},
child: Text("Legacy Raised Button"));
Use LegacyFlatButton
alternative to FlatButton
LegacyFlatButton(
onPressed: () {
print("Clicked LegacyFlatButton");
},
child: Text("Legacy Flat Button"));
Use LegacyOutlineButton
alternative to OutlineButton
LegacyOutlineButton(
onPressed: () {
print("Clicked LegacyOutlineButton");
},
child: Text("Legacy Outline Button"));
Issues and pull requests are welcomed.