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