clicky 3d button for flutter
a custom 3d button in flutter.
demo
how to use it
import 'clicky_button/clicky_button.dart'
...
clickybutton(
child: text(
'click me!',
style: textstyle(
color: colors.white,
fontsize: 22),
),
color: colors.green,
onpressed: () {},
)
...
to change size of button just wrap button in transform.scale()
import 'clicky_button/clicky_button.dart'
...
transform.scale(
scale: 0.6,
child: clickybutton(
child: text(
'click me!',
style: textstyle(
color: colors.white,
fontsize: 22),
),
color: colors.green,
onpressed: () {},
),
)
...
Comments are closed.