ArcaneSwitcher.horizontal constructor

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

Implementation

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