MorphSlot<T> constructor

const MorphSlot<T>({
  1. Key? key,
  2. required Signal<T> connect,
  3. required MorphableWidget morphBuilder(
    1. BuildContext context,
    2. T value
    ),
  4. MorphConfig config = const MorphConfig(),
  5. VoidCallback? onMorphStart,
  6. VoidCallback? onMorphComplete,
})

Implementation

const MorphSlot({
  super.key,
  required this.connect,
  required this.morphBuilder,
  this.config = const MorphConfig(),
  this.onMorphStart,
  this.onMorphComplete,
});