FTabController constructor

FTabController({
  1. required int length,
  2. required TickerProvider vsync,
  3. int initialIndex = 0,
  4. Duration? animationDuration,
})

Creates a FTabController.

Implementation

FTabController({
  required int length,
  required TickerProvider vsync,
  int initialIndex = 0,
  Duration? animationDuration,
}) : _controller = TabController(
        initialIndex: initialIndex,
        length: length,
        animationDuration: animationDuration,
        vsync: vsync,
      );