SmartInput constructor

const SmartInput({
  1. Key? key,
  2. TextEditingController? controller,
  3. TextInputType? textInputType = TextInputType.text,
  4. int? maxLines,
  5. String? placeholder,
  6. Widget? prefix,
  7. Widget? suffix,
  8. FormFieldValidator<String>? validator,
  9. void onChanged(
    1. String
    )?,
  10. bool mandatory = false,
  11. bool readOnly = false,
  12. String? label,
  13. SmartInputState? state,
  14. int? limit,
  15. ObscureData? obscureData,
  16. bool disabled = false,
})

Implementation

const SmartInput({
  super.key,
  this.controller,
  this.textInputType = TextInputType.text,
  this.maxLines,
  this.placeholder,
  this.prefix,
  this.suffix,
  this.validator,
  this.onChanged,
  this.mandatory = false,
  this.readOnly = false,
  this.label,
  this.state,
  this.limit,
  this.obscureData,
  this.disabled = false,
});