LabeledTextField constructor
const
LabeledTextField({
- Key? key,
- required String label,
- TextEditingController? controller,
- String? hint,
- bool required = false,
- String? validator()?,
- ValueChanged<
String> ? onChanged, - TextInputType? keyboardType,
- bool readOnly = false,
- int? maxLines = 1,
- Widget? suffix,
Implementation
const LabeledTextField({
super.key,
required this.label,
this.controller,
this.hint,
this.required = false,
this.validator,
this.onChanged,
this.keyboardType,
this.readOnly = false,
this.maxLines = 1,
this.suffix,
});