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