JumpingTabBar constructor

JumpingTabBar({
  1. Key? key,
  2. Color? backgroundColor,
  3. Duration duration = const Duration(milliseconds: 700),
  4. Gradient circleGradient = const LinearGradient(colors: [const Color(0xff630141), const Color(0xffB83F7D)], begin: Alignment.bottomLeft, end: Alignment.topRight),
  5. int selectedIndex = 1,
  6. required List<TabItemIcon> items,
  7. TabController? controller,
  8. void onChangeTab(
    1. 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);