TEdit constructor
const
TEdit({
- Key? key,
- String text = '',
- TAlignment alignment = TAlignment.taLeftJustify,
- TEditCharCase charCase = TEditCharCase.ecNormal,
- TEchoMode echoMode = TEchoMode.emNormal,
- int maxLength = 0,
- bool readOnly = false,
- bool numbersOnly = false,
- String textHint = '',
- bool enabled = true,
- TextStyle? font,
- void onChange(
- String text
- VoidCallback? onEditingDone,
Implementation
const TEdit({
super.key,
this.text = '',
this.alignment = TAlignment.taLeftJustify,
this.charCase = TEditCharCase.ecNormal,
this.echoMode = TEchoMode.emNormal,
this.maxLength = 0,
this.readOnly = false,
this.numbersOnly = false,
this.textHint = '',
this.enabled = true,
this.font,
this.onChange,
this.onEditingDone,
});