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"));
copied to clipboard

LegacyFlatButton #

Use LegacyFlatButton alternative to FlatButton

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

LegacyOutlineButton #

Use LegacyOutlineButton alternative to OutlineButton

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

Issues and pull requests are welcomed.

2
likes
70
points
88
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.19 - 2025.04.03

Use Deprecated Legacy Buttons

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on legacy_buttons