NsgSimpleTabs constructor

NsgSimpleTabs({
  1. Key? key,
  2. List<NsgSimpleTabsTab>? tabs,
  3. NsgSimpleTabsController? tabController,
  4. Color? borderColor,
  5. double height = 40,
  6. double borderWidth = 2,
  7. double borderRadius = 10,
  8. NsgSimpleTabsStyle style = const NsgSimpleTabsStyle(),
})

Implementation

NsgSimpleTabs({
  super.key,
  List<NsgSimpleTabsTab>? tabs,
  NsgSimpleTabsController? tabController,
  this.borderColor,
  this.height = 40,
  this.borderWidth = 2,
  this.borderRadius = 10,
  this.style = const NsgSimpleTabsStyle(),
}) : margin = null,
     controller = tabController ?? NsgSimpleTabsController(tabs: tabs ?? []);