UiTabRouter constructor

UiTabRouter({
  1. required String initialPath,
  2. required List<UiTab> tabs,
  3. Color tabBarColor = Colors.grey,
  4. double tabBarHeight = 80,
  5. Color indicatorColor = Colors.blue,
  6. double indicatorHeight = 2.0,
})

Constructor

Implementation

UiTabRouter({
  required this.initialPath,
  required this.tabs,
  this.tabBarColor = Colors.grey,
  this.tabBarHeight = 80,
  this.indicatorColor = Colors.blue,
  this.indicatorHeight = 2.0,
}) : state = ValueNotifier(initialPath);