SmartInput constructor
const
SmartInput({
- Key? key,
- TextEditingController? controller,
- TextInputType? textInputType = TextInputType.text,
- int? maxLines,
- String? placeholder,
- Widget? prefix,
- Widget? suffix,
- FormFieldValidator<
String> ? validator, - void onChanged()?,
- bool mandatory = false,
- bool readOnly = false,
- String? label,
- SmartInputState? state,
- int? limit,
- ObscureData? obscureData,
- 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,
});