InputWidget constructor
const
InputWidget({
- Key? key,
- String? label,
- Color? labelColor,
- InputWidgetType? type = InputWidgetType.text,
- double? width,
- TextEditingController? controller,
- void onChanged()?,
- String? hintText,
- Widget? prefixIcon,
- Widget? suffixIcon,
- List<
TextInputFormatter> ? inputFormatters, - Color? fillColor,
- bool obscureText = false,
- String? initialValue,
- bool? noRadius,
- void onFocusChange()?,
- void onFieldSubmitted()?,
- bool readOnly = false,
- FocusNode? focusNode,
Implementation
const InputWidget({
Key? key,
this.label,
this.labelColor,
this.type = InputWidgetType.text,
this.width,
this.controller,
this.onChanged,
this.hintText,
this.prefixIcon,
this.suffixIcon,
this.inputFormatters,
this.fillColor,
this.obscureText = false,
this.initialValue,
this.noRadius,
this.onFocusChange,
this.onFieldSubmitted,
this.readOnly = false,
this.focusNode,
}) : super(key: key);