IconMorphSlot<T> constructor

const IconMorphSlot<T>({
  1. Key? key,
  2. required Signal<T> connect,
  3. required IconData iconBuilder(
    1. T value
    ),
  4. double size = 24,
  5. Color? color,
  6. IconMorphStyle morphStyle = IconMorphStyle.crossFade,
  7. Duration duration = const Duration(milliseconds: 300),
  8. 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,
});