SwitcherProps constructor
const
SwitcherProps({
- required int index,
- required List<
Component> children, - SwitcherDirection direction = SwitcherDirection.fade,
- int duration = 300,
Implementation
const SwitcherProps({
required this.index,
required this.children,
this.direction = SwitcherDirection.fade,
this.duration = 300,
});