FlavorConfig class
Constructors
Properties
-
The color of the banner if enabled.
final
-
Determines if the banner should be shown.
final
- flavorName → String
-
The name of the flavor.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor → Color
-
The color of the text inside the banner if enabled.
final
-
values
→ Map<
String, dynamic> -
The values that belong to the flavor.
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
-
no setter
Static Methods
-
getBannerColor(
) → Color - Gets the color of the banner if enabled.
-
getFlavorName(
) → String - Gets the name of the flavor.
-
getTextColor(
) → Color - Gets the color of the text inside the banner if enabled.
-
getValue(
String key) → dynamic - Gets a value given a key.
-
getValues(
) → Map< String, dynamic> - Gets the values that belong to the flavor.
-
isBannerEnabled(
) → bool -
Returns
true
if the banner will be shown.