Conditionally show the widget
Widget visible(bool visible, {Widget? replacement}) => visible ? this : (replacement ?? const SizedBox.shrink());