OudsTextField constructor
- Key? key,
- TextEditingController? controller,
- FocusNode? focusNode,
- bool? enabled = true,
- bool? readOnly = false,
- TextInputType? keyboardType,
- void onEditingComplete()?,
- required OudsInputDecoration decoration,
- String? trailingIconContentDescription,
Implementation
OudsTextField({
super.key,
this.controller,
this.focusNode,
this.enabled = true,
this.readOnly = false,
this.keyboardType,
this.onEditingComplete,
required this.decoration,
this.trailingIconContentDescription,
}) : assert(
!(decoration.loader == true && decoration.errorText != null),
"Error status for Loading state is not relevant",
);