flutter_scale_tap

Last updated:

0 purchases

flutter_scale_tap Image
flutter_scale_tap Images
Add to Cart

Description:

flutter scale tap

ScaleTap #
Scale and opacity animated Button for Flutter
Getting Started #
Wrap your widget with ScaleTap
ScaleTap(
onPressed: (){
//Tap
},
onLongPress: (){
//Long press
},
child: Container(
child: Text("Tap Me"),
),
)
copied to clipboard
You can change the default behaviour with the ScaleTapConfig class
class ScaleTapConfig {
static double scaleMinValue = 0.95;
static Curve scaleCurve = CurveSpring();
static double opacityMinValue = 0.90;
static Curve opacityCurve = Curves.ease;
static Duration scaleOpacityAnimationDuration = const Duration(milliseconds: 300);
static Duration buttonAnimationDuration = const Duration(milliseconds: 300);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.