NeumorphismIcon constructor

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

Implementation

const NeumorphismIcon(
  this.icon, {
  super.key,
  this.duration = Neumorphism.DEFAULT_DURATION,
  this.curve = Neumorphism.DEFAULT_CURVE,
  this.style,
  this.size = 20,
});