Conversion Funnel

Loading preview

Starting the Flutter app

A Flutter conversion funnel in CustomPaint with centered stage bars, carry-through wedges, platform tabs and step drop-off details.

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.

_FunnelPainter lays stages out in fixed-height rows, which reduces hit testing to one division in _selectAt. Bar widths are proportional to the first stage, and the faint wedge between rows shows how much of each stage carries into the next. Fill strength steps down a single hue because the stages are ordered, not separate categories. The detail card derives step conversion, overall conversion and drop-off from the counts, so only the _Platform values and _stages need replacing. Each platform must supply one count per stage. Very small final stages get thin, so raise a minimum bar width if your funnel narrows sharply.