isVisibility method

Widget isVisibility({
  1. required bool visible,
  2. bool maintainState = false,
  3. bool maintainAnimation = false,
  4. bool maintainSize = false,
  5. bool maintainSemantics = false,
  6. bool maintainInteractivity = false,
  7. Key? key,
})

Implementation

Widget isVisibility({
  required bool visible,
  bool maintainState = false,
  bool maintainAnimation = false,
  bool maintainSize = false,
  bool maintainSemantics = false,
  bool maintainInteractivity = false,
  Key? key,
}) {
  return Visibility(
    visible: visible,
    maintainAnimation: maintainAnimation,
    maintainInteractivity: maintainInteractivity,
    maintainSemantics: maintainSemantics,
    maintainSize: maintainSize,
    maintainState: maintainState,
    key: key,
    child: this,
  );
}