AwesomeButton
This is a pre-built button for flutter with an awesome look.
- Stars
- 8
- Forks
- 2
- Last push (UTC)
- Aug 21, 2019
- Project status
- Active
Original README
English project snapshot. Visit GitHub for the latest content.
AwesomeButton
This is a pre-built button for flutter with an awesome look.
Installation
Add the awesome_button to your dependencies in your pubspec.yaml.
awesome_button: ^1.0.2
Usage
Import the AwesomeButton.dart using this line below.
import 'package:awesome_button/awesome_button.dart';
Add the AwesomeButton widget to your widget tree and provide your parameter to it, like examples below.
Example
AwesomeButton(
blurRadius: 10.0,
splashColor: Color.fromRGBO(255, 255, 255, .4),
borderRadius: BorderRadius.circular(37.5),
height: 75.0,
width: 200.0,
onTap: () => print("tapped"),
color: Colors.redAccent,
child: Text(
"Awesome Button",
style: TextStyle(
color: Colors.white,
fontSize: 20.0,
),
),
),
AwesomeButton(
blurRadius: 10.0,
splashColor: Color.fromRGBO(255, 255, 255, .4),
borderRadius: BorderRadius.circular(50.0),
height: 100.0,
width: 100.0,
onTap: () => print("tapped"),
color: Colors.greenAccent,
child: Icon(
Icons.account_circle,
color: Colors.white,
size: 50.0,
),
),
AwesomeButton(
blurRadius: 10.0,
splashColor: Color.fromRGBO(255, 255, 255, .4),
borderRadius: BorderRadius.circular(25.0),
height: 75.0,
width: 200.0,
onTap: () => print("tapped"),
color: Colors.orangeAccent,
child: Text(
"Awesome Button",
style: TextStyle(
color: Colors.white,
fontSize: 20.0,
),
),
),
LanguagesDart
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗
- millianlmx/AwesomeButton · GitHub ↗
- GitHub Docs — Saving repositories with stars ↗
- Directory maintained by Ducafecat ↗


