Touch constructor
const
Touch({
- Key? key,
- Widget? child,
- VoidCallback? onPress,
- VoidCallback? onLongPress,
- EdgeInsetsGeometry? padding,
- double inflate = 0,
- double fade = .8,
Wraps child in the press feedback.
Implementation
const Touch({
super.key,
this.child,
this.onPress,
this.onLongPress,
this.padding,
this.inflate = 0,
this.fade = .8,
});