GFieldConfig class

Configuration for form fields, encapsulating common properties.

Constructors

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

Properties

controller → TextEditingController
final
hashCode → int
The hash code for this object.
no setterinherited
hintText → String
final
inputFormatters → List<TextInputFormatter>?
final
keyboardType → TextInputType
final
labelText → String
final
onChanged → void Function(String)?
final
prefixIcon → IconData?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textInputAction → TextInputAction
final
validator → String? Function(String?)?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited