CardSettingsEmail constructor
CardSettingsEmail({
- Key? key,
- String label = 'Email',
- bool contentOnNewLine = false,
- double? labelWidth,
- TextAlign? labelAlign,
- TextAlign? contentAlign,
- String? initialValue,
- Icon? icon,
- Widget? requiredIndicator,
- int maxLength = 30,
- bool visible = true,
- bool enabled = true,
- bool autofocus = false,
- bool obscureText = false,
- bool autocorrect = false,
- AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
- FormFieldValidator<
String> ? validator, - FormFieldSetter<
String> ? onSaved, - ValueChanged<
String> ? onChanged, - TextEditingController? controller,
- FocusNode? focusNode,
- TextInputAction? inputAction,
- FocusNode? inputActionNode,
- TextInputType keyboardType = TextInputType.emailAddress,
- TextStyle? style,
- MaxLengthEnforcement? maxLengthEnforcement = MaxLengthEnforcement.enforced,
- ValueChanged<
String> ? onFieldSubmitted, - List<
TextInputFormatter> ? inputFormatters, - bool? showMaterialonIOS,
- EdgeInsetsGeometry? fieldPadding,
Implementation
CardSettingsEmail({
Key? key,
String label = 'Email',
bool contentOnNewLine = false,
double? labelWidth,
TextAlign? labelAlign,
TextAlign? contentAlign,
String? initialValue,
Icon? icon,
Widget? requiredIndicator,
int maxLength = 30,
bool visible = true,
bool enabled = true,
bool autofocus = false,
bool obscureText = false,
bool autocorrect = false,
AutovalidateMode autovalidateMode = AutovalidateMode.onUserInteraction,
FormFieldValidator<String>? validator,
FormFieldSetter<String>? onSaved,
ValueChanged<String>? onChanged,
TextEditingController? controller,
FocusNode? focusNode,
TextInputAction? inputAction,
FocusNode? inputActionNode,
TextInputType keyboardType = TextInputType.emailAddress,
TextStyle? style,
MaxLengthEnforcement? maxLengthEnforcement = MaxLengthEnforcement.enforced,
ValueChanged<String>? onFieldSubmitted,
List<TextInputFormatter>? inputFormatters,
bool? showMaterialonIOS,
EdgeInsetsGeometry? fieldPadding,
}) : super(
key: key,
label: label,
labelWidth: labelWidth,
labelAlign: labelAlign,
showMaterialonIOS: showMaterialonIOS,
fieldPadding: fieldPadding,
contentAlign: contentAlign,
contentOnNewLine: contentOnNewLine,
initialValue: initialValue,
maxLength: maxLength,
icon: icon,
requiredIndicator: requiredIndicator,
visible: visible,
enabled: enabled,
autofocus: autofocus,
obscureText: obscureText,
autocorrect: autocorrect,
autovalidateMode: autovalidateMode,
validator: validator,
onSaved: onSaved,
onChanged: onChanged,
controller: controller,
focusNode: focusNode,
inputAction: inputAction,
inputActionNode: inputActionNode,
keyboardType: keyboardType,
style: style,
maxLengthEnforcement: maxLengthEnforcement,
onFieldSubmitted: onFieldSubmitted,
inputFormatters: inputFormatters,
);