Dynamically Hide and Unhide Widgets in Flutter

We know, a flutter app is composed of numerous widgets. In some scenarios, we may want to hide and show any specific widget depending on certain situations. This can be done easily using the Visibility class. The widget which is to be hidden should be the child of the Visibility widget. The visibility is managed … Read more

How to Make Container Clickable in Flutter

In normal cases, the Container widget doesn’t respond to touches. Sometimes, we may need to create custom widgets that are clickable. Let’s see how to make a container widget clickable widget in Flutter. The GestureDetector widget is used to detect gestures. Hence, we use the GestureDetector in this example so that we can detect taps … Read more