visibility method
Toggles the visibility of the widget.
visible If true, the widget is visible; if false, it is hidden.
Implementation
Visibility visibility({bool visible = true}) {
return Visibility(
visible: visible,
child: this,
);
}
Toggles the visibility of the widget.
visible If true, the widget is visible; if false, it is hidden.
Visibility visibility({bool visible = true}) {
return Visibility(
visible: visible,
child: this,
);
}