LitLockIcon constructor

const LitLockIcon({
  1. Key? key,
  2. double size = 48.0,
  3. Color color = const Color(0xFFAAAAAA),
  4. Duration animationDuration = const Duration(milliseconds: 400),
})

Creates a LitLockIcon.

Specify the size and color property to customize its appearance.

  • size is the icons's size.
  • color is the icon's main color. The gradient's accent colors are using this color value generated.
  • animationDuration is the duration the animation should have.

Implementation

const LitLockIcon({
  Key? key,
  this.size = 48.0,
  this.color = const Color(0xFFAAAAAA),
  this.animationDuration = const Duration(milliseconds: 400),
}) : super(key: key);