FlavorConfig class
FlavorConfig to configure flavors
Constructors
-
FlavorConfig({String? name, Color color = Colors.red, BannerLocation location = BannerLocation.topStart, Map<
String, dynamic> variables = const {}}) -
Factory constructor
factory
Properties
- color → Color
-
Color of the banner
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- location → BannerLocation
-
Location of the banner
final
- name → String?
-
Name of flavor
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
variables
→ Map<
String, dynamic> -
Variables are dynamic
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FlavorConfig
-
Instance of FlavorConfig
no setter