visibility method

Visibility visibility(
  1. bool visible, {
  2. Key? key,
})

Implementation

Visibility visibility(bool visible, {Key? key}) =>
    Visibility(key: key, visible: visible, child: this);