sizedWidget method
Widget
sizedWidget({
- required Widget child,
- required AnimationController sizeFactor,
- required bool condition,
Implementation
Widget sizedWidget(
{required Widget child,
required AnimationController sizeFactor,
required bool condition}) {
return condition
? SizeTransition(
sizeFactor: sizeFactor,
child: child,
axis: Axis.horizontal,
axisAlignment: -1,
)
: Container(
// child: child,
);
}