SectionSwitcherController constructor
SectionSwitcherController({
- int initialIndex = 0,
Creates a controller for a SectionSwitcher.
The initialIndex defaults to 0.
Implementation
SectionSwitcherController({int initialIndex = 0}) : _index = initialIndex;