LayoutAlgorithm enum
Class used to set the underlying layout algorithm.
Values
- NORMAL → const LayoutAlgorithm
-
NORMAL means no rendering changes. This is the recommended choice for maximum compatibility across different platforms and Android versions.
- TEXT_AUTOSIZING → const LayoutAlgorithm
-
TEXT_AUTOSIZING boosts font size of paragraphs based on heuristics to make the text readable when viewing a wide-viewport layout in the overview mode. It is recommended to enable zoom support InAppWebViewSettings.supportZoom when using this mode.
NOTE: available on Android 19+.
- NARROW_COLUMNS → const LayoutAlgorithm
-
NARROW_COLUMNS makes all columns no wider than the screen if possible. Only use this for API levels prior to
Build.VERSION_CODES.KITKAT.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LayoutAlgorithm> - A constant List of the values in this enum, in order of their declaration.