Admin Dashboard

Loading preview

Starting the Flutter app

A showcase of Flutter's admin dashboard functionality

Get the source

Add it to your project

Copies the Dart source into your app, so you own it. Flutter SDK only, no extra packages.

First time? Run dart pub global activate fluttertemplates_dev, or read the CLI guide.

How it works

The four entries in the top-level _metrics list render as cards inside a Wrap. LayoutBuilder picks four columns above 600px of available width and two below, then sizes each card with tileWidth, leaving its height to the content. Change labels are colored by whether the string starts with +, and every number, including both Recent Activity rows, is hardcoded.

Adapting it

  • Replace _metrics with a typed model loaded from your API, using a FutureBuilder around the Wrap.
  • Build the two activity ListTiles from a list instead of writing each one by hand.