XTextField constructor

const XTextField({
  1. String label = "",
  2. String hint = "",
  3. String initialValue = "",
  4. required dynamic onChange(
    1. String value
    ),
  5. TextInputType? type,
  6. double? fontSize,
  7. EdgeInsets? padding,
  8. bool readOnly = false,
  9. bool autoFocus = false,
  10. String? fontFamily,
  11. Key? key,
})

Implementation

const XTextField({
  this.label = "",
  this.hint = "",
  this.initialValue = "",
  required this.onChange,
  this.type,
  this.fontSize,
  this.padding,
  this.readOnly = false,
  this.autoFocus = false,
  this.fontFamily,
  super.key,
});