TouchFeedBack constructor
const
TouchFeedBack({
- required Widget child,
- required FutureOr<
void> onTapped()?, - List<
TouchEffectBuilder> touchEffectBuilders = const <TouchEffectBuilder>[], - bool isAndroidDark = true,
- bool isIosDark = true,
- Color? tapColor,
- String? semanticsLabel,
- Color color = Colors.transparent,
- double elevation = 0,
- BorderRadius? borderRadius,
- Color? shadowColor,
- ShapeBorder? shapeBorder,
- Color? androidSplashColor,
- bool forceAndroid = false,
- bool forceIOS = false,
- bool waitUntilOnTappedFinishesIOS = true,
- bool animateAwait = true,
- Key? key,
Implementation
const TouchFeedBack({
required this.child,
required this.onTapped,
this.touchEffectBuilders = const <TouchEffectBuilder>[],
this.isAndroidDark = true,
this.isIosDark = true,
this.tapColor,
this.semanticsLabel,
this.color = Colors.transparent,
this.elevation = 0,
this.borderRadius,
this.shadowColor,
this.shapeBorder,
this.androidSplashColor,
this.forceAndroid = false,
this.forceIOS = false,
this.waitUntilOnTappedFinishesIOS = true,
this.animateAwait = true,
super.key,
});