flutter_scale_tap 1.0.1 copy "flutter_scale_tap: ^1.0.1" to clipboard
flutter_scale_tap: ^1.0.1 copied to clipboard

outdated

Scale and opacity animated Button for Flutter

ScaleTap #

Scale and opacity animated Button for Flutter

Getting Started #

Wrap your widget with ScaleTap

ScaleTap(
  onTap: (){
    //Tap
  },
  onLongPress: (){
    //Long press
  },
  child: Container(
    child: Text("Tap Me"),
  ),
)

Parameters #

ScaleTap #

Parameter name Type Description Required Default value
child Widget your child yes -
onTap Function() On tap callback no -
onLongPress Function() On long press callback no -
duration Duration Animation duration no Duration(milliseconds:300)
scaleMinValue double Min scale value no 0.95
scaleCurve Curve Curve for scaling no Spring curve
opacityMinValue double Min opacity value no 0.9
opacityCurve Curve Curve for opacity no Curve.ease
28
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Scale and opacity animated Button for Flutter

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_scale_tap