FlutterPasswordStrength constructor Null safety

const FlutterPasswordStrength(
  1. {Key? key,
  2. required String? password,
  3. double? width,
  4. double height = 5,
  5. Animatable<Color>? strengthColors,
  6. Color backgroundColor = Colors.grey,
  7. double radius = 0,
  8. Duration? duration,
  9. void strengthCallback(
    1. double strength
    )?}
)

Implementation

const FlutterPasswordStrength(
    { Key? key,
      required this.password,
      this.width,
      this.height = 5,
      this.strengthColors,
      this.backgroundColor = Colors.grey,
      this.radius = 0,
      this.duration,
      this.strengthCallback})
    : super(key: key);