AnimatedTextBottomBar constructor

AnimatedTextBottomBar({
  1. Key? key,
  2. required List<BottomBarItem> children,
  3. required ValueChanged<int>? onBarTap,
  4. Duration animatedTextDuration = const Duration(milliseconds: 250),
  5. Curve animatedTextCurve = Curves.easeInOut,
  6. TextStyle? textStyle,
  7. EdgeInsetsGeometry margin = EdgeInsets.zero,
  8. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 8.0),
  9. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  10. double elevation = 10.0,
  11. Color? backgroundColor,
  12. Color? shadowColor,
  13. Color? selectedItemColor,
  14. Color? unselectedItemColor,
  15. BorderRadius selectedItemBorderRadius = const BorderRadius.all(Radius.circular(30)),
})

Implementation

AnimatedTextBottomBar({
  Key? key,
  required this.children,
  required this.onBarTap,
  this.animatedTextDuration = const Duration(milliseconds: 250),
  this.animatedTextCurve = Curves.easeInOut,
  this.textStyle,
  this.margin = EdgeInsets.zero,
  this.padding = const EdgeInsets.symmetric(vertical: 8.0),
  this.borderRadius = BorderRadius.zero,
  this.elevation = 10.0,
  this.backgroundColor,
  this.shadowColor,
  this.selectedItemColor,
  this.unselectedItemColor,
  this.selectedItemBorderRadius = const BorderRadius.all(Radius.circular(30)),
}) : super(key: key);