AnimatedBottomNavigationBar constructor

AnimatedBottomNavigationBar({
  1. Key? key,
  2. required List<IconData> icons,
  3. required int activeIndex,
  4. required dynamic onTap(
    1. int
    ),
  5. double? height,
  6. double? elevation,
  7. double? splashRadius,
  8. int? splashSpeedInMilliseconds,
  9. double? notchMargin,
  10. Color? backgroundColor,
  11. Color? splashColor,
  12. Color? activeColor,
  13. Color? inactiveColor,
  14. Animation<double>? notchAndCornersAnimation,
  15. double? leftCornerRadius,
  16. double? rightCornerRadius,
  17. double? iconSize,
  18. NotchSmoothness? notchSmoothness,
  19. GapLocation? gapLocation,
  20. double? gapWidth,
  21. bool safeAreaLeft = true,
  22. bool safeAreaTop = true,
  23. bool safeAreaRight = true,
  24. bool safeAreaBottom = true,
})

Implementation

AnimatedBottomNavigationBar({
  Key? key,
  required List<IconData> icons,
  required int activeIndex,
  required Function(int) onTap,
  double? height,
  double? elevation,
  double? splashRadius,
  int? splashSpeedInMilliseconds,
  double? notchMargin,
  Color? backgroundColor,
  Color? splashColor,
  Color? activeColor,
  Color? inactiveColor,
  Animation<double>? notchAndCornersAnimation,
  double? leftCornerRadius,
  double? rightCornerRadius,
  double? iconSize,
  NotchSmoothness? notchSmoothness,
  GapLocation? gapLocation,
  double? gapWidth,
  bool safeAreaLeft = true,
  bool safeAreaTop = true,
  bool safeAreaRight = true,
  bool safeAreaBottom = true,
}) : this._internal(
        key: key,
        icons: icons,
        activeIndex: activeIndex,
        onTap: onTap,
        height: height,
        elevation: elevation,
        splashRadius: splashRadius ?? 24,
        splashSpeedInMilliseconds: splashSpeedInMilliseconds,
        notchMargin: notchMargin,
        backgroundColor: backgroundColor,
        splashColor: splashColor,
        activeColor: activeColor,
        inactiveColor: inactiveColor,
        notchAndCornersAnimation: notchAndCornersAnimation,
        leftCornerRadius: leftCornerRadius ?? 0,
        rightCornerRadius: rightCornerRadius ?? 0,
        iconSize: iconSize,
        notchSmoothness: notchSmoothness,
        gapLocation: gapLocation ?? GapLocation.end,
        gapWidth: gapWidth,
        safeAreaLeft: safeAreaLeft,
        safeAreaTop: safeAreaTop,
        safeAreaRight: safeAreaRight,
        safeAreaBottom: safeAreaBottom,
      );