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 onLongPressUp()?,
  21. void onSecondaryTap()?,
  22. void onSecondaryTapCancel()?,
  23. void onSecondaryTapDown(
    1. TapDownDetails
    )?,
  24. void onSecondaryTapUp(
    1. TapUpDetails
    )?,
  25. void onTap()?,
  26. void onTapCancel()?,
  27. void onTapDown(
    1. TapDownDetails
    )?,
  28. void onTapUp(
    1. TapUpDetails
    )?,
  29. WidgetStateProperty<Color?>? overlayColor,
  30. double? radius,
  31. Color? splashColor,
  32. InteractiveInkFeatureFactory? splashFactory,
  33. WidgetStatesController? statesController,
  34. 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.onLongPressUp,
  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,
           'onLongPressUp': onLongPressUp,
           '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,
             'onLongPressUp': onLongPressUp,
             '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,
     );