TolyInput constructor

const TolyInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. UndoHistoryController? undoController,
  5. GestureTapCallback? onTap,
  6. ValueChanged<String>? onChanged,
  7. VoidCallback? onEditingComplete,
  8. ValueChanged<String>? onSubmitted,
  9. TapRegionCallback? onTapOutside,
  10. TolyInputStyle? style,
  11. Slot? leadingBuilder,
  12. String? hintText,
  13. Slot? tailingBuilder,
  14. InputType? type,
  15. String? unit,
  16. String? prefix,
  17. bool enable = true,
  18. WidgetBuilder? clearBuilder,
  19. 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,
});