InputExtend<T> constructor

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

Implementation

const InputExtend(
    { required this.buildSelectPop,
      required this.onChanged,
      this.controller,
      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.popBox,
      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);