OmegaPasswordField constructor

OmegaPasswordField({
  1. Key? key,
  2. bool enabled = true,
  3. bool visible = true,
  4. String label = '',
  5. double labelSize = 14,
  6. Color labelColor = Colors.black,
  7. String? hint,
  8. int? maxLength,
  9. dynamic onChanged(
    1. String
    )?,
  10. dynamic onSaved(
    1. String?
    )?,
  11. dynamic onTap()?,
  12. FocusNode? focusNode,
  13. String? validator(
    1. String?
    )?,
  14. bool showRequiredLabel = false,
  15. bool autofocus = false,
  16. String? initialValue,
  17. bool autoCorrect = false,
  18. Widget? prefix,
  19. TextStyle? labelStyle,
  20. bool passwordStrength = false,
  21. dynamic strengthCallback(
    1. double
    )?,
})

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);