NeumorphicIcon constructor

NeumorphicIcon(
  1. IconData icon, {
  2. Key? key,
  3. Duration duration = Neumorphic.DEFAULT_DURATION,
  4. Curve curve = Neumorphic.DEFAULT_CURVE,
  5. NeumorphicStyle? style,
  6. double size = 20,
})

Implementation

NeumorphicIcon(
  this.icon, {
  Key? key,
  this.duration = Neumorphic.DEFAULT_DURATION,
  this.curve = Neumorphic.DEFAULT_CURVE,
  this.style,
  this.size = 20,
}) : super(key: key);