MorphIcon constructor

const MorphIcon({
  1. Key? key,
  2. MorphIconData? icon,
  3. MorphIconData? from,
  4. MorphIconData? to,
  5. double? progress,
  6. SpringPreset? preset,
  7. double? stiffness,
  8. double? damping,
  9. Duration? duration,
  10. double size = 24,
  11. Color? color,
  12. double strokeWidth = 2,
  13. bool absoluteStrokeWidth = false,
  14. String? label,
})

Implementation

const MorphIcon({
  super.key,
  this.icon,
  this.from,
  this.to,
  this.progress,
  this.preset,
  this.stiffness,
  this.damping,
  this.duration,
  this.size = 24,
  this.color,
  this.strokeWidth = 2,
  this.absoluteStrokeWidth = false,
  this.label,
});