SecureTextField constructor

const SecureTextField({
  1. Key? key,
  2. required CardCollector cardForm,
  3. required CardFieldType type,
  4. bool enabled = true,
  5. bool readOnly = false,
  6. TextStyle? textStyle,
  7. String? placeholder,
  8. String? label,
  9. Widget? leadingIcon,
  10. Widget? trailingIcon,
  11. Widget? prefix,
  12. Widget? suffix,
  13. String? supportingText,
  14. String? errorMessage,
  15. TextInputType? keyboardType,
  16. TextInputAction? textInputAction,
  17. InputDecoration? decoration,
  18. FocusNode? focusNode,
  19. bool? canRequestFocus,
  20. 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);