Declarative Overlays

Fred Grott
2 min readSep 3, 2021

If you try using the non-declarative default flutter overlay you end up with something you cannot theme, cannot persist to be restored across app re-starts, and one cannot align the overlay with other widgets. In short words a designer’s nightmare in both aesthetics and code implementation. Let me show you an easier way.

Background, Flutter Portal

--

--