SeniorTabBar constructor
const
SeniorTabBar({
- Key? key,
- required List<
String> tabs, - required int initialIndex,
- required dynamic onTap(),
- bool isScrollable = false,
- TabController? controller,
- SeniorTabBarStyle? style,
Creates a SDS tab bar component.
The tabs, initialIndex and onTap parameters are required.
Implementation
const SeniorTabBar({
Key? key,
required this.tabs,
required this.initialIndex,
required this.onTap,
this.isScrollable = false,
this.controller,
this.style,
}) : super(key: key);