flutter_scale_tap 1.0.0

Flutter Android iOS web

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 nameTypeDescriptionRequiredDefault value
childWidgetyour childyes-
onTapFunction()On tap callbackno-
onLongPressFunction()On long press callbackno-
durationDurationAnimation durationnoDuration(milliseconds:300)
scaleMinValuedoubleMin scale valueno0.95
scaleCurveCurveCurve for scalingnoSpring curve
opacityMinValuedoubleMin opacity valueno0.9
opacityCurveCurveCurve for opacitynoCurve.ease
0
likes
70
pub points
21%
popularity

Scale and opacity animated Button for Flutter

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

fede.amura@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_scale_tap