NsgSimpleTabs constructor
NsgSimpleTabs({
- Key? key,
- List<
NsgSimpleTabsTab> ? tabs, - NsgSimpleTabsController? tabController,
- Color? borderColor,
- double height = 40,
- double borderWidth = 2,
- double borderRadius = 10,
- 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 ?? []);