Empty - No Data

Loading preview

Starting the Flutter app

Icon, message, and CTA button empty state variant

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 most minimal of the state screens: a centered Column with an outline-colored Icons.inbox_outlined, heading, sentence and button. It’s stateless with no logic, and Add Item shows a demo SnackBar. Having its own Scaffold and AppBar means it’s a full page, not a drop-in list placeholder.

Adapting it

  • Drop the Scaffold, leaving the Center, so it can render inside an existing page body.
  • Add constructor parameters for icon, title, message and an onPressed action.
  • Hide the FilledButton.icon when the viewer can’t create items.