JumpingTabBar constructor
JumpingTabBar({
- Key? key,
- Color? backgroundColor,
- Duration duration = const Duration(milliseconds: 700),
- Gradient circleGradient = const LinearGradient(colors: [const Color(0xff630141), const Color(0xffB83F7D)], begin: Alignment.bottomLeft, end: Alignment.topRight),
- int selectedIndex = 1,
- required List<
TabItemIcon> items, - TabController? controller,
- void onChangeTab(
- int index
Implementation
JumpingTabBar({
Key? key,
this.backgroundColor,
this.duration = const Duration(milliseconds: 700),
this.circleGradient = const LinearGradient(
colors: [
const Color(0xff630141),
const Color(0xffB83F7D),
],
begin: Alignment.bottomLeft,
end: Alignment.topRight,
),
this.selectedIndex = 1,
required this.items,
this.controller,
this.onChangeTab,
}) : super(key: key);