FTabController constructor

FTabController({
  1. required int length,
  2. required TickerProvider vsync,
  3. int initialIndex = 0,
  4. FTabMotion motion = const FTabMotion(),
})

Creates a FTabController.

Implementation

FTabController({
  required int length,
  required TickerProvider vsync,
  int initialIndex = 0,
  FTabMotion motion = const FTabMotion(),
}) : _controller = TabController(
       initialIndex: initialIndex,
       length: length,
       animationDuration: motion.duration,
       vsync: vsync,
     ),
     _curve = motion.curve;