TEdit constructor

const TEdit({
  1. Key? key,
  2. String text = '',
  3. TAlignment alignment = TAlignment.taLeftJustify,
  4. TEditCharCase charCase = TEditCharCase.ecNormal,
  5. TEchoMode echoMode = TEchoMode.emNormal,
  6. int maxLength = 0,
  7. bool readOnly = false,
  8. bool numbersOnly = false,
  9. String textHint = '',
  10. bool enabled = true,
  11. TextStyle? font,
  12. void onChange(
    1. String text
    )?,
  13. 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,
});