Flutter Community
Published in

Flutter Community

Toggle Your Flutter

Switching between Material and Cupertino.

Let’s demonstrate how Flutter allows you to ‘rebuild’ only certain branches of its widget tree when you wish. StatefulWidgets built upon other StatefulWidgets is a very common way to selectively choose ‘how much’ of your Flutter app’s interface is essentially rebuilt from scratch.

As in many of my articles, I’ll work with a well-known Flutter example to demonstrate the topic. Today, we’ll go to the old Write your first Flutter app example — with some modification of course. Unlike the original, there are two State objects in…

--

--

Articles and Stories from the Flutter Community

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store