CrossfadeState constructor

CrossfadeState(
  1. int duration, {
  2. required bool isEnabled,
})

Implementation

CrossfadeState(
  this.duration, {
  required this.isEnabled,
});