NativeWidgetOptions class
Options shared by the modal and embedded native widget surfaces.
The widget is rendered by the platform's native UI toolkit. The options only describe the initial surface and never contain credentials.
Constructors
Properties
-
appearance
→ Map<
String, Object?> ? -
final
- articleId → String?
-
final
-
context
→ Map<
String, Object?> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostActionIds
→ List<
String> ? -
final
- locale → String?
-
final
-
platform
→ Map<
String, Object?> ? -
final
- reduceMotion → bool?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle → String?
-
final
- title → String?
-
final
- view → String?
-
final
Methods
-
copyWith(
{String? locale, String? title, String? subtitle, Map< String, Object?> ? appearance, Map<String, Object?> ? platform, bool? reduceMotion, String? view, String? articleId, Map<String, Object?> ? context, List<String> ? hostActionIds}) → NativeWidgetOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited