AnimatedTextBottomBar constructor
AnimatedTextBottomBar({
- Key? key,
- required List<
BottomBarItem> children, - required ValueChanged<
int> ? onBarTap, - Duration animatedTextDuration = const Duration(milliseconds: 250),
- Curve animatedTextCurve = Curves.easeInOut,
- TextStyle? textStyle,
- EdgeInsetsGeometry margin = EdgeInsets.zero,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 8.0),
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- double elevation = 10.0,
- Color? backgroundColor,
- Color? shadowColor,
- Color? selectedItemColor,
- Color? unselectedItemColor,
- 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);