Switcher.vertical constructor
const
Switcher.vertical({})
Implementation
const Switcher.vertical({
Key? key,
required this.children,
this.scrollDelta = _kScrollDelta,
this.delayedDuration = _kDelayedDuration,
this.curve = Curves.linearToEaseOut,
this.placeholder,
}) : assert(scrollDelta != null &&
scrollDelta > 0 &&
scrollDelta <= _kMaxScrollDelta),
assert(delayedDuration != null),
assert(curve != null),
spacing = 0,
_scrollDirection = Axis.vertical,
super(key: key);