legacy_buttons

Use deprecated legacy buttons. RaisedButton FlatButton and OutlineButton

Getting Started

Import the package

import'package:legacy_buttons/legacy_buttons.dart';

LegacyRaisedButton

Use LegacyRaisedButton alternative to RaisedButton

LegacyRaisedButton(
    onPressed: () {
        print("Clicked LegacyRaiseButton");
                },
    child: Text("Legacy Raised Button"));

LegacyFlatButton

Use LegacyFlatButton alternative to FlatButton

LegacyFlatButton(
    onPressed: () {
        print("Clicked LegacyFlatButton");
                },
    child: Text("Legacy Flat Button"));

LegacyOutlineButton

Use LegacyOutlineButton alternative to OutlineButton

LegacyOutlineButton(
    onPressed: () {
        print("Clicked LegacyOutlineButton");
                },
    child: Text("Legacy Outline Button"));

Issues and pull requests are welcomed.