OudsTextInput constructor

OudsTextInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. FocusNode? focusNode,
  4. bool? enabled = true,
  5. bool? readOnly = false,
  6. TextInputType? keyboardType,
  7. 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",
      );