ExpandInkWell constructor

const ExpandInkWell({
  1. Key? key,
  2. Widget? child,
  3. GestureTapCallback? onTap,
  4. GestureTapCallback? onDoubleTap,
  5. GestureLongPressCallback? onLongPress,
  6. GestureTapDownCallback? onTapDown,
  7. GestureTapUpCallback? onTapUp,
  8. GestureTapCancelCallback? onTapCancel,
  9. ValueChanged<bool>? onHighlightChanged,
  10. ValueChanged<bool>? onHover,
  11. MouseCursor? mouseCursor,
  12. Color? focusColor,
  13. Color? hoverColor,
  14. Color? highlightColor,
  15. MaterialStateProperty<Color?>? overlayColor,
  16. Color? splashColor,
  17. InteractiveInkFeatureFactory? splashFactory,
  18. double? radius,
  19. BorderRadius? borderRadius,
  20. ShapeBorder? customBorder,
  21. bool? enableFeedback = true,
  22. bool excludeFromSemantics = false,
  23. FocusNode? focusNode,
  24. bool canRequestFocus = true,
  25. ValueChanged<bool>? onFocusChange,
  26. bool autofocus = false,
  27. EdgeInsets expandArea = EdgeInsets.zero,
})

Implementation

const ExpandInkWell(
    {Key? key,
    Widget? child,
    GestureTapCallback? onTap,
    GestureTapCallback? onDoubleTap,
    GestureLongPressCallback? onLongPress,
    GestureTapDownCallback? onTapDown,
    GestureTapUpCallback? onTapUp,
    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 = true,
    bool excludeFromSemantics = false,
    FocusNode? focusNode,
    bool canRequestFocus = true,
    ValueChanged<bool>? onFocusChange,
    bool autofocus = false,
    this.expandArea = EdgeInsets.zero})
    : super(
        key: key,
        child: child,
        onTap: onTap,
        onDoubleTap: onDoubleTap,
        onLongPress: onLongPress,
        onTapDown: onTapDown,
        onTapUp: onTapUp,
        onTapCancel: onTapCancel,
        onHighlightChanged: onHighlightChanged,
        onHover: onHover,
        mouseCursor: mouseCursor,
        focusColor: focusColor,
        hoverColor: hoverColor,
        highlightColor: highlightColor,
        overlayColor: overlayColor,
        splashColor: splashColor,
        splashFactory: splashFactory,
        radius: radius,
        borderRadius: borderRadius,
        customBorder: customBorder,
        enableFeedback: enableFeedback ?? true,
        excludeFromSemantics: excludeFromSemantics,
        focusNode: focusNode,
        canRequestFocus: canRequestFocus,
        onFocusChange: onFocusChange,
        autofocus: autofocus,
      );