Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mohamedashraf701/legacy_buttons


https://github.com/mohamedashraf701/legacy_buttons

Last synced: 30 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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.