SFInput constructor
const
SFInput({
- Key? key,
- dynamic onChanged()?,
- dynamic onFieldSubmitted()?,
- TextEditingController? controller,
- String? validator()?,
- double? width,
- String? label,
- Color? labelColor,
- TextStyle? labelStyle,
- String? helperText,
- Color? helperTextColor,
- TextStyle? helperTextStyle,
- Color? fillColor,
- String? hintText,
- Color? hintColor,
- String? errorText,
- Color? errorTextColor,
- TextStyle? errorStyle,
- bool obscureText = false,
- double inputDecorationBorderRadius = 10,
Implementation
const SFInput({
super.key,
this.onChanged,
this.onFieldSubmitted,
this.controller,
this.validator,
this.width,
this.label,
this.labelColor,
this.labelStyle,
this.helperText,
this.helperTextColor,
this.helperTextStyle,
this.fillColor,
this.hintText,
this.hintColor,
this.errorText,
this.errorTextColor,
this.errorStyle,
this.obscureText = false,
this.inputDecorationBorderRadius = 10,
});