ArcaneSwitcher constructor

const ArcaneSwitcher({
  1. required int index,
  2. required List<Component> children,
  3. SwitcherDirection direction = SwitcherDirection.fade,
  4. int duration = 300,
  5. void onIndexChanged(
    1. int
    )?,
  6. Key? key,
})

Implementation

const ArcaneSwitcher({
  required this.index,
  required this.children,
  this.direction = SwitcherDirection.fade,
  this.duration = 300,
  this.onIndexChanged,
  super.key,
});