ModernFormTextField constructor
const
ModernFormTextField({
- Key? key,
- required String? label,
- String? labelTextHelper,
- String? text,
- Widget? suffix,
- bool enabled = true,
- FocusNode? focus,
- FocusNode? nextFocus,
- TextInputAction? textInputAction,
- TextEditingController? controller,
- void onChanged(
- String text
- TextInputType? keyboardType,
- void onTap()?,
- MoneyMaskedTextController? moneyController,
- void onChangedMoney(
- double value
- String? hint,
- TextStyle labelStyle()?,
- TextStyle hintStyle()?,
- TextStyle textStyle()?,
- Icon? prefixIcon,
- TextCapitalization? textCapitalization,
- String? validator(
- dynamic
- InputDecoration decoration()?,
- TextStyle errorStyle()?,
- void onFieldSubmitted()?,
- bool? autofocus,
- String? helperText,
- TextStyle? helperStyle,
Implementation
const ModernFormTextField({
Key? key,
required this.label,
this.labelTextHelper,
this.text,
this.suffix,
this.enabled = true,
this.focus,
this.nextFocus,
this.textInputAction,
this.controller,
this.onChanged,
this.keyboardType,
this.onTap,
this.moneyController,
this.onChangedMoney,
this.hint,
this.labelStyle,
this.hintStyle,
this.textStyle,
this.prefixIcon,
this.textCapitalization,
this.validator,
this.decoration,
this.errorStyle,
this.onFieldSubmitted,
this.autofocus,
this.helperText,
this.helperStyle,
}) : super(key: key);