ResponsiveTabBar constructor

const ResponsiveTabBar({
  1. Key? key,
  2. required List<String> tabTitles,
  3. required void onSelected(
    1. int index
    ),
  4. required RxInt selectedTab,
  5. bool isFullIndicationWidth = false,
  6. TextStyle? titleStyle,
  7. TextStyle? inActiveStyle,
  8. TextStyle? dropDownStyle,
  9. double rightSpacing = 0,
})

Implementation

const ResponsiveTabBar({
  super.key,
  required this.tabTitles,
  required this.onSelected,
  required this.selectedTab,
  this.isFullIndicationWidth = false,
  this.titleStyle,
  this.inActiveStyle,
  this.dropDownStyle,
  this.rightSpacing = 0,
});