invisible method

Widget invisible()

Makes the widget invisible and unclickable.

Implementation

Widget invisible() {
  return Visibility(
    visible: false,
    child: IgnorePointer(child: this),
  );
}