uiVisibility method
Provides the ability to show / hide a widget and setup how to treat other aspects of the widget.
Implementation
Widget uiVisibility({
required Widget child,
Key? key,
bool maintainState = false,
bool maintainAnimation = false,
bool maintainSize = false,
bool maintainSemantics = false,
bool maintainInteractivity = false,
bool visible = true,
}) {
return Visibility(
key: key,
maintainState: maintainState,
maintainAnimation: maintainAnimation,
maintainSize: maintainSize,
maintainSemantics: maintainSemantics,
maintainInteractivity: maintainInteractivity,
visible: visible,
child: child,
);
}