rounded_button 1.0.3
rounded_button: ^1.0.3 copied to clipboard

Easy to use Pre-made Rounded Buttons with advanced features for Flutter.

Rounded Button #

Easy to use Pre-made Rounded Buttons with advanced features for Flutter.

Check the example project.

Getting Started #

First you have to add the package dependency in pubspec.yml

rounded_button: ^latest

Get the version from pub.dev

The Button is a stateless widget. So you can use it anywhere you can use stateless widget.

To use Rounded Button without icon #

In your code you can use the rounded button without icon like this.

RoundedButton(
    primaryColor: Color(0xFFAC00FF),
    text: 'RoundedButton',
    onPressed: () {},
),

To use Rounded Button with icon #

In your code you can use the rounded button with icon like this.

RoundedButton(
    primaryColor: primaryColor,
    text: 'RoundedButton',
    onPressed: () {},
    icon: Icon(
        Icons.access_alarm_rounded,
    ),
),

Check the optional settings for advanced use.

Optional Params #

  • Added optional settings
    • icon,
    • borderColor,
    • textColor,
    • splashColor,
    • backgroundColor,
    • elevation = 3.5,
    • textStyle,
    • borderRadius,
    • padding = const EdgeInsets.all(15.0),

Other Projects #

TransitionX, Rounded Button

2
likes
110
pub points
53%
popularity

Publisher

rrad.dev

Easy to use Pre-made Rounded Buttons with advanced features for Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on rounded_button