Showcase

One screen of what a Glutter app is made of: a landscape that is painted and animated, a theme made from one color, and Material 3 components.

A picture of the app

Open in its own page

The landscape of the banner is drawn by a custom painter and moved by an animation controller. The rest of the page is ordinary Material 3 widgets, with a theme that is made from one seed color.

What to try#

  • Press the moon in the app bar. The theme turns dark, and in the banner the sun sets, the moon rises and the stars come out.
  • Tap a color under the banner. Every widget takes its colors from it, and so does the landscape.
  • Press Tap me, a few times.
  • Move the mouse over the landscape: its layers shift.
  • Choose Calm, Lively or Wild, and move the slider beside the waves.

The app is about 400 lines of Go. Its painter listens to the animation controller, so a frame repaints the landscape without building a single widget again.