InputExtend<T> constructor

const InputExtend<T>({
  1. required BuildSelectPop buildSelectPop,
  2. required OnChangeInput<String> onChanged,
  3. BuildCheckedBarStyle? buildCheckedBarStyle,
  4. FocusNode? focusNode,
  5. Duration duration = const Duration(milliseconds: 300),
  6. Curve curve = Curves.linear,
  7. double? checkedItemWidth = 60,
  8. double? checkedBarMaxWidth,
  9. double? checkedBarMinWidth,
  10. double? checkedBarMaxHeight,
  11. double? checkedBarMinHeight,
  12. TextStyle inputTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
  13. OnCreate? onCreate,
  14. OnComplete? onComplete,
  15. InputDecorationStyle? inputDecoration,
  16. ScrollPhysics? physics,
  17. List<T>? initCheckedValue,
  18. int maxChecked = 100,
  19. bool enableClickClear = false,
  20. bool enableMultipleChoice = false,
  21. bool autoClose = false,
  22. bool enableHasFocusCallBack = false,
  23. bool barrierDismissible = true,
  24. PopConstraintBox? popConstraintBox,
  25. double selectPopMarginTop = 0,
  26. TextEditingController? textEditingController,
  27. ScrollController? inputScrollController,
  28. ScrollController? scrollController,
  29. TextInputType? keyboardType,
  30. TextInputAction? textInputAction,
  31. TextCapitalization textCapitalization = TextCapitalization.none,
  32. StrutStyle? strutStyle,
  33. TextAlign textAlign = TextAlign.start,
  34. TextAlignVertical? textAlignVertical,
  35. TextDirection? textDirection,
  36. bool readOnly = false,
  37. ToolbarOptions? toolbarOptions,
  38. bool? showCursor,
  39. bool autofocus = false,
  40. String obscuringCharacter = '•',
  41. bool obscureText = false,
  42. bool autocorrect = true,
  43. SmartDashesType? smartDashesType,
  44. SmartQuotesType? smartQuotesType,
  45. bool enableSuggestions = true,
  46. int? maxLines = 1,
  47. int? minLines,
  48. bool expands = false,
  49. int? maxLength,
  50. MaxLengthEnforcement? maxLengthEnforcement,
  51. VoidCallback? onEditingComplete,
  52. InputValueChanged<String>? onSubmitted,
  53. AppPrivateCommandCallback? onAppPrivateCommand,
  54. List<TextInputFormatter>? inputFormatters,
  55. bool? enabled,
  56. double cursorWidth = 2.0,
  57. double? cursorHeight,
  58. Radius? cursorRadius,
  59. Color? cursorColor,
  60. Brightness? keyboardAppearance,
  61. EdgeInsets scrollPadding = const EdgeInsets.all(20.0),
  62. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  63. bool? enableInteractiveSelection,
  64. TextSelectionControls? selectionControls,
  65. GestureTapCallback? onTap,
  66. MouseCursor? mouseCursor,
  67. InputCounterWidgetBuilder? buildCounter,
  68. ScrollPhysics? scrollPhysics,
  69. Iterable<String>? autofillHints = const <String>[],
  70. Clip clipBehavior = Clip.hardEdge,
  71. String? restorationId,
  72. bool scribbleEnabled = true,
  73. bool enableIMEPersonalizedLearning = true,
  74. double? popElevation = 0.0,
  75. Color? popColor = Colors.transparent,
  76. Color? popShadowColor,
  77. Color? popSurfaceTintColor,
  78. TextStyle? popChildTextStyle,
  79. BorderRadiusGeometry? popBorderRadius,
  80. ShapeBorder? popShape,
  81. Key? key,
})

Implementation

const InputExtend(
    { required this.buildSelectPop,
      required this.onChanged,
      this.buildCheckedBarStyle,
      this.focusNode,
      this.duration = const Duration(milliseconds: 300),
      this.curve = Curves.linear,
      this.checkedItemWidth = 60,
      this.checkedBarMaxWidth,
      this.checkedBarMinWidth,
      this.checkedBarMaxHeight,
      this.checkedBarMinHeight,
      this.inputTextStyle = const TextStyle(color: Colors.black, fontSize: 16),
      this.onCreate,
      this.onComplete,
      this.inputDecoration,
      this.physics,
      this.initCheckedValue,
      this.maxChecked = 100,
      this.enableClickClear = false,
      this.enableMultipleChoice = false,
      this.autoClose = false,
      this.enableHasFocusCallBack = false,
      this.barrierDismissible = true,
      this.popConstraintBox,
      this.selectPopMarginTop = 0,
      this.textEditingController,
      this.inputScrollController,
      this.scrollController,
      this.keyboardType,
      this.textInputAction,
      this.textCapitalization = TextCapitalization.none,
      this.strutStyle,
      this.textAlign = TextAlign.start,
      this.textAlignVertical,
      this.textDirection,
      this.readOnly = false,
      this.toolbarOptions,
      this.showCursor,
      this.autofocus = false,
      this.obscuringCharacter = '•',
      this.obscureText = false,
      this.autocorrect = true,
      this.smartDashesType,
      this.smartQuotesType,
      this.enableSuggestions = true,
      this.maxLines = 1,
      this.minLines,
      this.expands = false,
      this.maxLength,
      this.maxLengthEnforcement,
      this.onEditingComplete,
      this.onSubmitted,
      this.onAppPrivateCommand,
      this.inputFormatters,
      this.enabled,
      this.cursorWidth = 2.0,
      this.cursorHeight,
      this.cursorRadius,
      this.cursorColor,
      this.keyboardAppearance,
      this.scrollPadding = const EdgeInsets.all(20.0),
      this.dragStartBehavior = DragStartBehavior.start,
      this.enableInteractiveSelection,
      this.selectionControls,
      this.onTap,
      this.mouseCursor,
      this.buildCounter,
      this.scrollPhysics,
      this.autofillHints = const <String>[],
      this.clipBehavior = Clip.hardEdge,
      this.restorationId,
      this.scribbleEnabled = true,
      this.enableIMEPersonalizedLearning = true,
      this.popElevation = 0.0,
      this.popColor = Colors.transparent,
      this.popShadowColor,
      this.popSurfaceTintColor,
      this.popChildTextStyle,
      this.popBorderRadius,
      this.popShape,
      Key? key})
    : super(key: key);