AnimatedBottomNavigationBar.builder constructor

AnimatedBottomNavigationBar.builder({
  1. Key? key,
  2. required int itemCount,
  3. required IndexedWidgetBuilder tabBuilder,
  4. required int activeIndex,
  5. required dynamic onTap(
    1. int
    ),
  6. double? height,
  7. double? splashRadius,
  8. int? splashSpeedInMilliseconds,
  9. double? notchMargin,
  10. Color? backgroundColor,
  11. Color? splashColor,
  12. Animation<double>? notchAndCornersAnimation,
  13. double? leftCornerRadius,
  14. double? rightCornerRadius,
  15. NotchSmoothness? notchSmoothness,
  16. GapLocation? gapLocation,
  17. double? gapWidth,
  18. double? elevation,
  19. Shadow? shadow,
  20. Color? borderColor,
  21. double? borderWidth,
  22. SafeAreaValues safeAreaValues = const SafeAreaValues(),
  23. Curve? hideAnimationCurve,
  24. AnimationController? hideAnimationController,
  25. Gradient? backgroundGradient,
  26. bool blurEffect = false,
  27. ImageFilter? imageFilter,
  28. double scaleFactor = 1.0,
})

Implementation

AnimatedBottomNavigationBar.builder({
  Key? key,
  required int itemCount,
  required IndexedWidgetBuilder tabBuilder,
  required int activeIndex,
  required Function(int) onTap,
  double? height,
  double? splashRadius,
  int? splashSpeedInMilliseconds,
  double? notchMargin,
  Color? backgroundColor,
  Color? splashColor,
  Animation<double>? notchAndCornersAnimation,
  double? leftCornerRadius,
  double? rightCornerRadius,
  NotchSmoothness? notchSmoothness,
  GapLocation? gapLocation,
  double? gapWidth,
  double? elevation,
  Shadow? shadow,
  Color? borderColor,
  double? borderWidth,
  SafeAreaValues safeAreaValues = const SafeAreaValues(),
  Curve? hideAnimationCurve,
  AnimationController? hideAnimationController,
  Gradient? backgroundGradient,
  bool blurEffect = false,
  ImageFilter? imageFilter,
  double scaleFactor = 1.0,
}) : this._internal(
        key: key,
        tabBuilder: tabBuilder,
        itemCount: itemCount,
        activeIndex: activeIndex,
        onTap: onTap,
        height: height,
        splashRadius: splashRadius ?? _defaultSplashRadius,
        splashSpeedInMilliseconds: splashSpeedInMilliseconds,
        notchMargin: notchMargin,
        backgroundColor: backgroundColor,
        splashColor: splashColor,
        notchAndCornersAnimation: notchAndCornersAnimation,
        leftCornerRadius: leftCornerRadius ?? 0,
        rightCornerRadius: rightCornerRadius ?? 0,
        notchSmoothness: notchSmoothness,
        gapLocation: gapLocation ?? GapLocation.end,
        gapWidth: gapWidth,
        elevation: elevation,
        shadow: shadow,
        borderColor: borderColor,
        borderWidth: borderWidth,
        safeAreaValues: safeAreaValues,
        hideAnimationCurve: hideAnimationCurve,
        hideAnimationController: hideAnimationController,
        backgroundGradient: backgroundGradient,
        blurEffect: blurEffect,
        blurFilter: imageFilter,
        scaleFactor: scaleFactor,
      );