TabZoom class

Where a tab is on its way between its thumbnail and its page.

Annotations

Constructors

TabZoom({required double expansion, required double lift, TabZoomDirection? direction})
A tab expansion of the way from its thumbnail to its page, lifted as far off the grid, and heading in direction, such as for a test of a TabDecorationBuilder.
const

Properties

direction → TabZoomDirection?
Which way the tab heads: to its page, or to its thumbnail, as a page pulled down does. Null as it rests. A tab sent back mid-flight turns around, and its direction with it.
final
expansion → double
How far the tab is from its thumbnail, at 0, to its page, at 1. While its page is pulled down, how far its decoration is from the thumbnail's: 0 at a pull of 50 pixels, with the page still 90% of its size.
final
hashCode → int
The hash code for this object.
no setteroverride
lift → double
How far the tab is lifted off the grid: 0 as it rests and 1 halfway through a zoom, along an arc, so what grows with it, such as a shadow, grows as the tab leaves its place, fades as it lands, and goes on smoothly where a flight turns around. A page pulled down is lifted as far as it's pulled, fully at 50 pixels, and flies on from there.
final
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override