IconMorphSlot<T> constructor
const
IconMorphSlot<T>({ - Key? key,
- required Signal<T> connect,
- required IconData iconBuilder(
- T value
),
- double size = 24,
- Color? color,
- IconMorphStyle morphStyle = IconMorphStyle.crossFade,
- Duration duration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeInOut,
})
Implementation
const IconMorphSlot({
super.key,
required this.connect,
required this.iconBuilder,
this.size = 24,
this.color,
this.morphStyle = IconMorphStyle.crossFade,
this.duration = const Duration(milliseconds: 300),
this.curve = Curves.easeInOut,
});