animation_wrappers
library
Classes
-
AnimatedTextBottomBar
-
animated bottom navigation bar with animated text
children: list of bottom navigation bar items which consists of text and icon
text: the title of the item
icon: widget(image or icon) of the item
onBarTap: function performed when a particular child item is pressed
animatedTextDuration: duration of animated text (default value: Duration(milliseconds: 250))
animatedTextCurve: curve of animated text (default value: Curves.easeInOut)
textStyle: styling of animated text
margin: margin of animated bottom navigation bar (default value: EdgeInsets.zero)
borderRadius: border radius of animated bottom navigation bar (default value: BorderRadius.zero)
-
BottomBarItem
-
BottomBarItem is used as the child widget of animated text bottom bar given
to it's children property
text: the text to be animated (it will be shown only when the item is selected
icon: icon shown when the item is selected or unselected
activeColor: color of image(icon) when the item is selected
inactiveColor: color of image(icon) when the item is not selected
-
FadedScaleAnimation
-
FadedScaleAnimation is build using FadeTransition and ScaleTransition
fade and scale animation wrapper widget
just wrap the child with this widget and widget will be animated
child: the widget to be animated
durationInMilliSeconds: duration of animation of fade and scale (default: 400)
curve: curve of the animation (default: Curves.decelerate)
-
FadedSlideAnimation
-
FadedSlideAnimation is build using FadeTransition and SlideTransition
fade and slide animation wrapper widget
just wrap the child with this widget and widget will be animated
child: the widget to be animated
durationInMilliSeconds: duration of animation of fade (default: 400)
slideDurationInMilliSeconds: duration of animation of slide (default: 800)
curve: curve of the fade animation (default: Curves.decelerate)
slideCurve: curve of the scale animation (default: Curves.easeInOutSine)