Flutter dynamic themes in 3 lines!

Rod Brown
The Startup
Published in
5 min readMay 18, 2020

--

Three lines. Really?

Yep, and as a bonus you’ll get to take home a fully functional theme demo app that’s less than 100 lines of code.

The Why of the 3 lines

So why are we doing this?

Like many other Flutter developers I’ve read a lot of articles and tried a few techniques to dynamically change the theme on my…

--

--