AiutaPowerBarTheme class
Theme for the Powered By Aiuta
label bar.
Note: In accordance with your agreement with Aiuta powerBar
may be hidden
by the subscription details info retrieved from the Aiuta backend, but in
order to not bring cross complexity to the SDK, we ask you to configure
its styles here regardless of whether it will be displayed or not.
Note: In case of failure to load the subscription details info from the
Aiuta backend, the SDK will NOT display the "Powered By Aiuta" powerBar
by default until the subscription details info is loaded successfully and
the agreement with Aiuta explicitly allows to display it.
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaPowerBarTheme.new({required AiutaPowerBarStrings strings, required AiutaPowerBarColors colors})
-
Creates an AiutaPowerBarTheme with
strings
andcolors
. - AiutaPowerBarTheme.builtIn()
-
Creates a built-in power bar theme configuration with default settings.
factory
-
AiutaPowerBarTheme.fromJson(Map<
String, dynamic> json) -
factory
Properties
- colors → AiutaPowerBarColors
-
Colors used in the
powered by
bar.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- strings → AiutaPowerBarStrings
-
Strings used in the
powered by
bar.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited