OmegaPasswordField constructor
OmegaPasswordField({
- Key? key,
- bool enabled = true,
- bool visible = true,
- String label = '',
- double labelSize = 14,
- Color labelColor = Colors.black,
- String? hint,
- int? maxLength,
- dynamic onChanged()?,
- dynamic onSaved()?,
- dynamic onTap()?,
- FocusNode? focusNode,
- String? validator()?,
- bool showRequiredLabel = false,
- bool autofocus = false,
- String? initialValue,
- bool autoCorrect = false,
- Widget? prefix,
- TextStyle? labelStyle,
- bool passwordStrength = false,
- dynamic strengthCallback()?,
Implementation
OmegaPasswordField({
Key? key,
this.enabled = true,
this.visible = true,
this.label = '',
this.labelSize = 14,
this.labelColor = Colors.black,
this.hint,
this.maxLength,
this.onChanged,
this.onSaved,
this.onTap,
this.focusNode,
this.validator,
this.showRequiredLabel = false,
this.autofocus = false,
this.initialValue,
this.autoCorrect = false,
this.prefix,
this.labelStyle,
this.passwordStrength = false,
this.strengthCallback,
}) : super(key: key);