RuiInput constructor

const RuiInput({
  1. Key? key,
  2. required String labelText,
  3. required String hintText,
  4. double width = 200,
  5. TextEditingController? controller,
  6. FocusNode? focusNode,
  7. Widget? suffix,
  8. dynamic onSubmit(
    1. String
    )?,
  9. dynamic onChange(
    1. String
    )?,
  10. dynamic onBlur()?,
  11. dynamic onFocus()?,
})

Implementation

const RuiInput({
  super.key,
  required this.labelText,
  required this.hintText,
  this.width = 200,
  this.controller,
  this.focusNode,
  this.suffix,
  this.onSubmit,
  this.onChange,
  this.onBlur,
  this.onFocus,
});