rebase method

InkWell rebase({
  1. Widget? child,
  2. GestureTapCallback? onTap,
  3. GestureTapCallback? onDoubleTap,
  4. GestureLongPressCallback? onLongPress,
  5. GestureTapDownCallback? onTapDown,
  6. GestureTapCancelCallback? onTapCancel,
  7. ValueChanged<bool>? onHighlightChanged,
  8. ValueChanged<bool>? onHover,
  9. MouseCursor? mouseCursor,
  10. Color? focusColor,
  11. Color? hoverColor,
  12. Color? highlightColor,
  13. MaterialStateProperty<Color?>? overlayColor,
  14. Color? splashColor,
  15. InteractiveInkFeatureFactory? splashFactory,
  16. double? radius,
  17. BorderRadius? borderRadius,
  18. ShapeBorder? customBorder,
  19. bool? enableFeedback,
  20. bool? excludeFromSemantics,
  21. FocusNode? focusNode,
  22. bool? canRequestFocus,
  23. ValueChanged<bool>? onFocusChange,
  24. 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,
  );
}