AndroidLayoutAlgorithm class Null safety

An Android-specific class used to set the underlying layout algorithm.

Properties

hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override
toValue() String

Operators

operator ==(Object value) bool
The equality operator. [...]
override

Static Properties

values Set<AndroidLayoutAlgorithm>
final

Static Methods

fromValue(String? value) AndroidLayoutAlgorithm?

Constants

NARROW_COLUMNS → const AndroidLayoutAlgorithm
NARROW_COLUMNS makes all columns no wider than the screen if possible. Only use this for API levels prior to Build.VERSION_CODES.KITKAT.
const AndroidLayoutAlgorithm._internal("NARROW_COLUMNS")
NORMAL → const AndroidLayoutAlgorithm
NORMAL means no rendering changes. This is the recommended choice for maximum compatibility across different platforms and Android versions.
const AndroidLayoutAlgorithm._internal("NORMAL")
TEXT_AUTOSIZING → const AndroidLayoutAlgorithm
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 AndroidInAppWebViewOptions.supportZoom when using this mode. [...]
const AndroidLayoutAlgorithm._internal("TEXT_AUTOSIZING")