rounded_button 1.0.3 copy "rounded_button: ^1.0.3" to clipboard
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

4
likes
40
points
17
downloads

Publisher

verified publisherrrad.dev

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

MIT (license)

Dependencies

flutter

More

Packages that depend on rounded_button