JsonInkWell constructor

JsonInkWell({
  1. Map<String, dynamic> args = const {},
  2. JsonWidgetRegistry? registry,
  3. bool autofocus = false,
  4. BorderRadius? borderRadius,
  5. bool canRequestFocus = true,
  6. ShapeBorder? customBorder,
  7. bool? enableFeedback = true,
  8. bool excludeFromSemantics = false,
  9. Color? focusColor,
  10. FocusNode? focusNode,
  11. Color? highlightColor,
  12. Color? hoverColor,
  13. Duration? hoverDuration,
  14. MouseCursor? mouseCursor,
  15. void onDoubleTap()?,
  16. void onFocusChange(
    1. bool
    )?,
  17. void onHighlightChanged(
    1. bool
    )?,
  18. void onHover(
    1. bool
    )?,
  19. void onLongPress()?,
  20. void onSecondaryTap()?,
  21. void onSecondaryTapCancel()?,
  22. void onSecondaryTapDown(
    1. TapDownDetails
    )?,
  23. void onSecondaryTapUp(
    1. TapUpDetails
    )?,
  24. void onTap()?,
  25. void onTapCancel()?,
  26. void onTapDown(
    1. TapDownDetails
    )?,
  27. void onTapUp(
    1. TapUpDetails
    )?,
  28. WidgetStateProperty<Color?>? overlayColor,
  29. double? radius,
  30. Color? splashColor,
  31. InteractiveInkFeatureFactory? splashFactory,
  32. WidgetStatesController? statesController,
  33. JsonWidgetData? child,
})

Implementation

JsonInkWell({
  Map<String, dynamic> args = const {},
  JsonWidgetRegistry? registry,
  this.autofocus = false,
  this.borderRadius,
  this.canRequestFocus = true,
  this.customBorder,
  this.enableFeedback = true,
  this.excludeFromSemantics = false,
  this.focusColor,
  this.focusNode,
  this.highlightColor,
  this.hoverColor,
  this.hoverDuration,
  this.mouseCursor,
  this.onDoubleTap,
  this.onFocusChange,
  this.onHighlightChanged,
  this.onHover,
  this.onLongPress,
  this.onSecondaryTap,
  this.onSecondaryTapCancel,
  this.onSecondaryTapDown,
  this.onSecondaryTapUp,
  this.onTap,
  this.onTapCancel,
  this.onTapDown,
  this.onTapUp,
  this.overlayColor,
  this.radius,
  this.splashColor,
  this.splashFactory,
  this.statesController,
  this.child,
}) : super(
        jsonWidgetArgs: JsonInkWellBuilderModel.fromDynamic(
          {
            'autofocus': autofocus,
            'borderRadius': borderRadius,
            'canRequestFocus': canRequestFocus,
            'customBorder': customBorder,
            'enableFeedback': enableFeedback,
            'excludeFromSemantics': excludeFromSemantics,
            'focusColor': focusColor,
            'focusNode': focusNode,
            'highlightColor': highlightColor,
            'hoverColor': hoverColor,
            'hoverDuration': hoverDuration,
            'mouseCursor': mouseCursor,
            'onDoubleTap': onDoubleTap,
            'onFocusChange': onFocusChange,
            'onHighlightChanged': onHighlightChanged,
            'onHover': onHover,
            'onLongPress': onLongPress,
            'onSecondaryTap': onSecondaryTap,
            'onSecondaryTapCancel': onSecondaryTapCancel,
            'onSecondaryTapDown': onSecondaryTapDown,
            'onSecondaryTapUp': onSecondaryTapUp,
            'onTap': onTap,
            'onTapCancel': onTapCancel,
            'onTapDown': onTapDown,
            'onTapUp': onTapUp,
            'overlayColor': overlayColor,
            'radius': radius,
            'splashColor': splashColor,
            'splashFactory': splashFactory,
            'statesController': statesController,
            'child': child,
            ...args,
          },
          args: args,
          registry: registry,
        ),
        jsonWidgetBuilder: () => JsonInkWellBuilder(
          args: JsonInkWellBuilderModel.fromDynamic(
            {
              'autofocus': autofocus,
              'borderRadius': borderRadius,
              'canRequestFocus': canRequestFocus,
              'customBorder': customBorder,
              'enableFeedback': enableFeedback,
              'excludeFromSemantics': excludeFromSemantics,
              'focusColor': focusColor,
              'focusNode': focusNode,
              'highlightColor': highlightColor,
              'hoverColor': hoverColor,
              'hoverDuration': hoverDuration,
              'mouseCursor': mouseCursor,
              'onDoubleTap': onDoubleTap,
              'onFocusChange': onFocusChange,
              'onHighlightChanged': onHighlightChanged,
              'onHover': onHover,
              'onLongPress': onLongPress,
              'onSecondaryTap': onSecondaryTap,
              'onSecondaryTapCancel': onSecondaryTapCancel,
              'onSecondaryTapDown': onSecondaryTapDown,
              'onSecondaryTapUp': onSecondaryTapUp,
              'onTap': onTap,
              'onTapCancel': onTapCancel,
              'onTapDown': onTapDown,
              'onTapUp': onTapUp,
              'overlayColor': overlayColor,
              'radius': radius,
              'splashColor': splashColor,
              'splashFactory': splashFactory,
              'statesController': statesController,
              'child': child,
              ...args,
            },
            args: args,
            registry: registry,
          ),
        ),
        jsonWidgetType: JsonInkWellBuilder.kType,
      );