rebase method
InkWell
rebase({
- Widget? child,
- GestureTapCallback? onTap,
- GestureTapCallback? onDoubleTap,
- GestureLongPressCallback? onLongPress,
- GestureTapDownCallback? onTapDown,
- GestureTapCancelCallback? onTapCancel,
- ValueChanged<
bool> ? onHighlightChanged, - ValueChanged<
bool> ? onHover, - MouseCursor? mouseCursor,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- MaterialStateProperty<
Color?> ? overlayColor, - Color? splashColor,
- InteractiveInkFeatureFactory? splashFactory,
- double? radius,
- BorderRadius? borderRadius,
- ShapeBorder? customBorder,
- bool? enableFeedback,
- bool? excludeFromSemantics,
- FocusNode? focusNode,
- bool? canRequestFocus,
- ValueChanged<
bool> ? onFocusChange, - bool? autofocus,
Internal modifier for modifying final properties.
Implementation
InkWell rebase({
Widget? child,
GestureTapCallback? onTap,
GestureTapCallback? onDoubleTap,
GestureLongPressCallback? onLongPress,
GestureTapDownCallback? onTapDown,
GestureTapCancelCallback? onTapCancel,
ValueChanged<bool>? onHighlightChanged,
ValueChanged<bool>? onHover,
MouseCursor? mouseCursor,
Color? focusColor,
Color? hoverColor,
Color? highlightColor,
MaterialStateProperty<Color?>? overlayColor,
Color? splashColor,
InteractiveInkFeatureFactory? splashFactory,
double? radius,
BorderRadius? borderRadius,
ShapeBorder? customBorder,
bool? enableFeedback,
bool? excludeFromSemantics,
FocusNode? focusNode,
bool? canRequestFocus,
ValueChanged<bool>? onFocusChange,
bool? autofocus,
}) {
return InkWell(
key: this.key,
child: child ?? this.child,
onTap: onTap ?? this.onTap,
onDoubleTap: onDoubleTap ?? this.onDoubleTap,
onLongPress: onLongPress ?? this.onLongPress,
onTapDown: onTapDown ?? this.onTapDown,
onTapCancel: onTapCancel ?? this.onTapCancel,
onHighlightChanged: onHighlightChanged ?? this.onHighlightChanged,
onHover: onHover ?? this.onHover,
mouseCursor: mouseCursor ?? this.mouseCursor,
focusColor: focusColor ?? this.focusColor,
hoverColor: hoverColor ?? this.hoverColor,
highlightColor: highlightColor ?? this.highlightColor,
overlayColor: overlayColor ?? this.overlayColor,
splashColor: splashColor ?? this.splashColor,
splashFactory: splashFactory ?? this.splashFactory,
radius: radius ?? this.radius,
borderRadius: borderRadius ?? this.borderRadius,
customBorder: customBorder ?? this.customBorder,
enableFeedback: enableFeedback ?? this.enableFeedback,
excludeFromSemantics: excludeFromSemantics ?? this.excludeFromSemantics,
focusNode: focusNode ?? this.focusNode,
canRequestFocus: canRequestFocus ?? this.canRequestFocus,
onFocusChange: onFocusChange ?? this.onFocusChange,
autofocus: autofocus ?? this.autofocus,
);
}