GFieldConfig constructor
const
GFieldConfig({
- required TextEditingController controller,
- required String labelText,
- String hintText = '',
- TextInputType keyboardType = TextInputType.text,
- TextInputAction textInputAction = TextInputAction.next,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- void onChanged()?,
- IconData? prefixIcon,
Implementation
const GFieldConfig({
required this.controller,
required this.labelText,
this.hintText = '',
this.keyboardType = TextInputType.text,
this.textInputAction = TextInputAction.next,
this.inputFormatters,
this.validator,
this.onChanged,
this.prefixIcon,
});