QudsAnimatedWidgetsFlipper constructor
const
QudsAnimatedWidgetsFlipper({})
showStartChild
if is true
the widget will show initially the startChild,
if set to false
it will show initially the endChild.
withRotation
indicates weather the icons will transite with rotation.
curve
the curve of the transition velocity.
duration
the duration of the transition, initially set to 400 ms
Implementation
const QudsAnimatedWidgetsFlipper(
{required this.startChild,
required this.endChild,
this.showStartChild = true,
this.withRotation,
this.curve = Curves.fastLinearToSlowEaseIn,
this.duration = const Duration(milliseconds: 400),
Key? key})
: super(key: key);