ArcaneKeyedSwitcher<T> constructor

const ArcaneKeyedSwitcher<T>({
  1. required T currentKey,
  2. required Map<T, Component> children,
  3. SwitcherDirection direction = SwitcherDirection.fade,
  4. int duration = 300,
  5. Component? fallback,
  6. Key? key,
})

Implementation

const ArcaneKeyedSwitcher({
  required this.currentKey,
  required this.children,
  this.direction = SwitcherDirection.fade,
  this.duration = 300,
  this.fallback,
  super.key,
});