FTabController constructor
FTabController({
- required int length,
- required TickerProvider vsync,
- int initialIndex = 0,
- 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;