MorphIcon constructor
const
MorphIcon({
- Key? key,
- MorphIconData? icon,
- MorphIconData? from,
- MorphIconData? to,
- double? progress,
- SpringPreset? preset,
- double? stiffness,
- double? damping,
- Duration? duration,
- double size = 24,
- Color? color,
- double strokeWidth = 2,
- bool absoluteStrokeWidth = false,
- 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,
});