TrustedWebActivityImmersiveDisplayMode class

Class that represents the default display mode of a Trusted Web Activity. The system UI (status bar, navigation bar) is shown, and the browser toolbar is hidden while the user is on a verified origin.

Implemented types

Constructors

TrustedWebActivityImmersiveDisplayMode({required bool isSticky, LayoutInDisplayCutoutMode displayCutoutMode = LayoutInDisplayCutoutMode.DEFAULT, AndroidLayoutInDisplayCutoutMode? layoutInDisplayCutoutMode})

Properties

displayCutoutMode LayoutInDisplayCutoutMode
The constant defining how to deal with display cutouts.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isSticky bool
Whether the Trusted Web Activity should be in sticky immersive mode.
getter/setter pair
layoutInDisplayCutoutMode AndroidLayoutInDisplayCutoutMode?
Use displayCutoutMode instead.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts instance to a map.
override
toMap() Map<String, dynamic>
Converts instance to a map.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? map) TrustedWebActivityImmersiveDisplayMode?
Gets a possible TrustedWebActivityImmersiveDisplayMode instance from a Map value.