NeoSegmentedTabBar constructor

const NeoSegmentedTabBar({
  1. Key? key,
  2. required List<String> tabs,
  3. TabConfig tabConfig = const TabConfig(),
  4. required dynamic onTabSelected(
    1. int index
    ),
  5. required int selectedIndex,
  6. Color? backgroundColor,
  7. Color shadowColor = Colors.black,
  8. Offset offset = const Offset(3, 3),
  9. double borderRadius = 8.0,
})

Implementation

const NeoSegmentedTabBar({
  super.key,
  required this.tabs,
  this.tabConfig = const TabConfig(),
  required this.onTabSelected,
  required this.selectedIndex,
  this.backgroundColor,
  this.shadowColor = Colors.black,
  this.offset = const Offset(3, 3),
  this.borderRadius = 8.0,
});