SecureTextField constructor
const
SecureTextField({
- Key? key,
- required CardCollector cardForm,
- required CardFieldType type,
- bool enabled = true,
- bool readOnly = false,
- TextStyle? textStyle,
- String? placeholder,
- String? label,
- Widget? leadingIcon,
- Widget? trailingIcon,
- Widget? prefix,
- Widget? suffix,
- String? supportingText,
- String? errorMessage,
- TextInputType? keyboardType,
- TextInputAction? textInputAction,
- InputDecoration? decoration,
- FocusNode? focusNode,
- bool? canRequestFocus,
- bool? autofocus,
Implementation
const SecureTextField({
Key? key,
required this.cardForm,
required this.type,
this.enabled = true,
this.readOnly = false,
this.textStyle,
this.placeholder,
this.label,
this.leadingIcon,
this.trailingIcon,
this.prefix,
this.suffix,
this.supportingText,
this.errorMessage,
this.keyboardType,
this.textInputAction,
this.decoration,
this.focusNode,
this.canRequestFocus,
this.autofocus,
}) : super(key: key);