TextInput constructor

const TextInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. required String label,
  4. void onChanged(
    1. String
    )?,
  5. bool readOnly = false,
  6. String? initialValue,
  7. TextStyle? labelStyle,
})

Implementation

const TextInput({
  super.key,
  this.controller,
  required this.label,
  this.onChanged,
  this.readOnly = false,
  this.initialValue,
  this.labelStyle,
});