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