Uses when clause to render the widget only when the condition is true.
Widget when(bool condition) => condition ? this : const VxNone();