segment_animation library

Classes

AnimatedContainerWidget
AnimatedContainerWidget class is StatelessWidget class. So, it create a animation when segment will change.
AnimatedSegment
AppColors
AppColors class have all the static and const members. Here, we have defined used color inside the package.
AppFontStyles
AppFontStyles class have all the static and const members. Here, we have defined used TextStyle inside the package.
Background
Background class is StatelessWidget class. This class creates a background in segments.
Dimens
Dimens class have all the static and const members. Here, we have defined used dimensions inside the package.
ItemRipple
ItemRipple class is StatefulWidget class. Because we are using ticker provider. We are showing ripple effect with animation.
RippleEffectPainter
RippleEffectPainter class create a ripple effect on tap of segment. This class uses a CustomPainter to draw a ripple effect.
SegmentItems
SegmentItems class is StatelessWidget class. This class creates a segment.