RehaculTextInput constructor

const RehaculTextInput(
  1. {Key? key,
  2. required String? labelText,
  3. required TextEditingController? controller,
  4. required String? errorText,
  5. String? hintText,
  6. IconData? iconData,
  7. required String title,
  8. String? imagePathString,
  9. bool isDecimal = false,
  10. ValueChanged<String>? onChanged,
  11. String? initialValue,
  12. String? suffixText,
  13. Icon? suffixIcon,
  14. List<TextInputFormatter>? inputFormatters}
)

Implementation

const RehaculTextInput({
  super.key,
  required this.labelText,
  required this.controller,
  required this.errorText,
  this.hintText,
  this.iconData,
  required this.title,
  this.imagePathString,
  this.isDecimal = false,
  this.onChanged,
  this.initialValue,
  this.suffixText,
  this.suffixIcon,
  this.inputFormatters,
});