const
Widget.inkWell(- {Key? key,
- Widget? child,
- Callback? onTap,
- Callback? onDoubleTap,
- Callback? onLongPress,
- Callback? onTapCancel,
- BoolSelectionCallback? onHighlightChanged,
- BoolSelectionCallback? onHover,
- MouseCursor? mouseCursor,
- Color? focusColor,
- Color? hoverColor,
- Color? highlightColor,
- MaterialStateProperty? overlayColor,
- Color? splashColor,
- double? radius,
- BorderRadius? borderRadius,
- ShapeBorder? customBorder,
- @Default(true) bool? enableFeedback,
- @Default(false) bool excludeFromSemantics,
- @Default(true) bool canRequestFocus,
- BoolSelectionCallback? onFocusChange,
- @Default(false) bool autofocus}
)
Implementation
const factory Widget.inkWell({
Key? key,
Widget? child,
Callback? onTap,
Callback? onDoubleTap,
Callback? onLongPress,
Callback? onTapCancel,
BoolSelectionCallback? onHighlightChanged,
BoolSelectionCallback? onHover,
MouseCursor? mouseCursor,
Color? focusColor,
Color? hoverColor,
Color? highlightColor,
MaterialStateProperty? overlayColor,
Color? splashColor,
double? radius,
BorderRadius? borderRadius,
ShapeBorder? customBorder,
@Default(true) bool? enableFeedback,
@Default(false) bool excludeFromSemantics,
@Default(true) bool canRequestFocus,
BoolSelectionCallback? onFocusChange,
@Default(false) bool autofocus,
}) = InkWell;