Flutter Ready to Go (flavors, connectivity and more)

Table of Contents

Flavors:

Flavors in Dart:

Visually identifying each flavor:

Identifying device info with the Banner

FlavorBanner Dialog.

Flavors in android:

App icons based on flavor:

Different icons to each flavor.

App name based on flavor:

Different names to each flavor

Running flavors with the IDE:

Using flavor values:

Controlling connection errors:

Notification working when changing the connection
Error notification on request’s timeout

Final considerations:

Flutter Community

Articles and Stories from the Flutter Community

Julio Henrique Bitencourt

Written by

juliobitencourt.com

Flutter Community

Articles and Stories from the Flutter Community