TEXT_AUTOSIZING constant

LayoutAlgorithm const TEXT_AUTOSIZING

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+.

Implementation

static const TEXT_AUTOSIZING =
    LayoutAlgorithm._internal('TEXT_AUTOSIZING', 'TEXT_AUTOSIZING');