If you are trying to hide an element you can set its height to 0, then “revel” it by setting its height back to the default when an action happens. However, sliders don’t disappear when heights set to 0. you can get rid of the bar with setting width to 0, but the slider itself does not change.
To create invisible components, it is better to use an offscreen Column on which they are placed. If the elements need to be made visible, then move the Column to the screen x = 0, if invisible, then position the Column and the coordinate behind the screen area, for example, x = -10000 px.