legacy_buttons 0.0.1 copy "legacy_buttons: ^0.0.1" to clipboard
legacy_buttons: ^0.0.1 copied to clipboard

Use Deprecated Legacy Buttons

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.

2
likes
70
pub points
69%
popularity

Publisher

unverified uploader

Use Deprecated Legacy Buttons

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on legacy_buttons