common_button 0.0.4 copy "common_button: ^0.0.4" to clipboard
common_button: ^0.0.4 copied to clipboard

A new Flutter package with a customize button.

A Flutter custom common button that frequently use in flutter project.

Features #

How to use it. #

common_button #

the default effects is Icons.favorite #

  CommonButton(), 
  // give some parameter 

how-to-use-it #

and you can also define custom use.

    CommonButton(
        onPress: _incrementCounter,
        text: "Counter",
        textAlign: Alignment.center,
        tColor: Colors.white,
        bgColor: Colors.orange,
        isIcon: false,
        customShape: 1,
    ),

parameters #

parameter description default
customShape 1 StadiumBorder,2 RoundedRectangleBorder, 3 CircleBorder StadiumBorder
bgColor animation duration to change isLiked state
tColor text color
isIcon icon enable for true
2
likes
110
pub points
25%
popularity

Publisher

unverified uploader

A new Flutter package with a customize button.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on common_button