Skip to content

fathah/legacy_buttons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Use deprecated flutter legacy buttons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages