Send Money

Loading preview

Starting the Flutter app

A showcase of Flutter's send money 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

An amount field, a row of CircleAvatar contacts and a Recent list feed one send button. The amount accepts two decimals, and tapping a contact or Recent row sets _recipient. _send shows an inline error until both are valid, then calls onSend, or a demo SnackBar without it. Recent rows reuse the first three _contacts with a hardcoded •••• 4242.

Adapting it

  • Call your transfer API from onSend, and use integer minor units rather than double there.
  • Row with spaceBetween will overflow as contacts grow, so move to a horizontal ListView.