AntdInput constructor

const AntdInput({
  1. Key? key,
  2. AntdInputStyle? style,
  3. AntdStyleBuilder<AntdInputStyle, AntdInput>? styleBuilder,
  4. FocusNode? focusNode,
  5. bool clearable = true,
  6. String? value,
  7. bool? disabled = false,
  8. ValueChanged<String?>? onChange,
  9. VoidCallback? onEditingComplete,
  10. ValueChanged<String>? onSubmitted,
  11. VoidCallback? onClear,
  12. Widget? placeholder,
  13. bool? readOnly = false,
  14. AntdInputController? controller,
  15. TextAlign textAlign = TextAlign.start,
  16. bool obscureIcon = true,
  17. bool obscureText = false,
  18. bool autocorrect = false,
  19. int? maxLines,
  20. int? minLines,
  21. int? maxLength,
  22. TextInputType? keyboardType = TextInputType.text,
  23. TextInputAction? inputAction,
  24. SelectionChangedCallback? onSelectionChanged,
  25. List<TextInputFormatter>? formatters,
  26. Widget? prefix,
  27. Widget? suffix,
  28. VoidCallback? onTap,
  29. EditableTextContextMenuBuilder? contextMenuBuilder,
  30. UndoHistoryController? undoController,
  31. SpellCheckConfiguration? spellCheckConfiguration,
  32. TextMagnifierConfiguration? magnifierConfiguration,
  33. AppPrivateCommandCallback? onAppPrivateCommand,
  34. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  35. ScrollController? scrollController,
  36. ScrollPhysics? scrollPhysics = const NeverScrollableScrollPhysics(),
  37. Clip clipBehavior = Clip.hardEdge,
  38. AntdOnFocus? onFocus,
  39. bool? shouldTriggerChange = true,
  40. AntdHapticFeedback? hapticFeedback = AntdHapticFeedback.light,
  41. bool? autoCollect = true,
  42. bool? manual,
})

Implementation

const AntdInput(
    {super.key,
    super.style,
    super.styleBuilder,
    super.focusNode,
    super.clearable = true,
    super.value,
    super.disabled = false,
    super.onChange,
    super.onEditingComplete,
    super.onSubmitted,
    super.onClear,
    super.placeholder,
    super.readOnly = false,
    super.controller,
    super.textAlign = TextAlign.start,
    super.obscureIcon = true,
    super.obscureText = false,
    super.autocorrect = false,
    super.maxLines,
    super.minLines,
    super.maxLength,
    super.keyboardType = TextInputType.text,
    super.inputAction,
    super.onSelectionChanged,
    super.formatters,
    super.prefix,
    super.suffix,
    super.onTap,
    super.contextMenuBuilder,
    super.undoController,
    super.spellCheckConfiguration,
    super.magnifierConfiguration,
    super.onAppPrivateCommand,
    super.dragStartBehavior = DragStartBehavior.start,
    super.scrollController,
    super.scrollPhysics = const NeverScrollableScrollPhysics(),
    super.clipBehavior = Clip.hardEdge,
    super.onFocus,
    super.shouldTriggerChange = true,
    super.hapticFeedback,
    super.autoCollect,
    super.manual});