TolyInput constructor
const
TolyInput({
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- UndoHistoryController? undoController,
- GestureTapCallback? onTap,
- ValueChanged<
String> ? onChanged, - VoidCallback? onEditingComplete,
- ValueChanged<
String> ? onSubmitted, - TapRegionCallback? onTapOutside,
- TolyInputStyle? style,
- Slot? leadingBuilder,
- String? hintText,
- Slot? tailingBuilder,
- InputType? type,
- String? unit,
- String? prefix,
- bool enable = true,
- WidgetBuilder? clearBuilder,
- bool clearable = false,
Implementation
const TolyInput({
super.key,
this.controller,
this.focusNode,
this.undoController,
this.onTap,
this.onChanged,
this.onEditingComplete,
this.onSubmitted,
this.onTapOutside,
this.style,
this.leadingBuilder,
this.hintText,
this.tailingBuilder,
this.type,
this.unit,
this.prefix,
this.enable = true,
this.clearBuilder,
this.clearable = false,
});