AliceConfiguration class
Constructors
- AliceConfiguration.new({bool showNotification = true, bool showInspectorOnShake = true, String notificationIcon = '@mipmap/ic_launcher', TextDirection? directionality, AliceStorage? storage, AliceLogger? logger})
Properties
- aliceLogger → AliceLogger
-
Logger instance.
final
- aliceStorage → AliceStorage
-
Storage where calls will be saved. The default storage is memory storage.
final
- directionality → TextDirection?
-
Directionality of app. Directionality of the app will be used if set to
null. Default value is null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Navigator key used to open inspector. Default value is null.
final
- notificationIcon → String
-
Icon url for notification. Default value is '@mipmap/ic_launcher'.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showInspectorOnShake → bool
-
Should inspector be opened on device shake (works only with physical
with sensors). Default value is true.
final
- showNotification → bool
-
Should user be notified with notification when there's new request caught
by Alice. Default value is true.
final
-
Flag used to show/hide share button
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
copyWith(
{bool? showNotification, bool? showInspectorOnShake, String? notificationIcon, TextDirection? directionality, AliceStorage? aliceStorage, AliceLogger? aliceLogger}) → AliceConfiguration -
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