ArticleTopBarHost

Where a screen declares an article app bar: the scaffold around the screen holds one and draws what the screen puts in it. Until a screen calls ScaffoldArticleTopBar, the bar is the one the destination registered.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The mark drawn before the title, as it is drawn, without a tint. Null for none.

Link copied to clipboard

What a screen reader says for brand; null leaves it out as decoration.

Link copied to clipboard

Whether the screen reports how much of the article has been read.

Link copied to clipboard

Whether the article's own header has scrolled away, so the bar shows the title. It follows the scroll, so read it inside derivedStateOf.

Link copied to clipboard

Whether a screen declares an article bar now.

Link copied to clipboard

The article's title, shown in the bar once it is isCompact.

Functions

Link copied to clipboard

How much of the article has been read, from 0 to 1: the screen's value clamped, and 0 when it is not a number or nothing reports it. It follows the scroll, so read it while drawing.