sa_flutter_flavor library

Classes

FlavorBanner
This displays a Flavor Banner on the main app in the color specified by the flavor This works by overlaying the banner onto the rest of the app child The banner can be position in one of the corners of the app and is defined by position this defaults to bottomLeft. bannerConfig is taken from the current Flavor being used(via the banner attribute)
FlavorBannerConfig
Utility class that defines the Flavor banner configuration. THis is usually on created indirectly by FlavorConfig name the name of the flavor isProduction a flag to determine if the flavor is a production flavor color will be the color of the banner that is shown (if any)
FlavorConfig
This is the main class that is used to define the settings for a Flavor name is the name of the flavor (i.e. DEV, TEST,PROD) isProduction is a flag to determine if the flavor is a production flavor(tis means no banner is displayed) color is the color to use for the banner attributes one or more attrbutes that are set up for each flavor

Enums

FlavorBannerPosition
Controls the position of the banner when displayed