SectionTabs constructor
- Key? key,
- required List<
SectionTab> tabs, - required String activeId,
- required ValueChanged<
String> onChanged, - SectionTabsSize size = SectionTabsSize.md,
- bool fullWidth = false,
Implementation
const SectionTabs({
super.key,
required this.tabs,
required this.activeId,
required this.onChanged,
this.size = SectionTabsSize.md,
this.fullWidth = false,
}) : assert(
tabs.length >= 2 && tabs.length <= 4,
'SectionTabs supports 2–4 segments',
);