SharedBorder class final

One border tone for surfaces drawn together; see AnyBackground.sharedBorder.

Available extensions

Properties

borderArgbs → List<int>
One border per surface, in the same order, each in its surface's hue.
final
clearsBackground → bool
True: every border clears every pixel. False: each border clears its own surface instead.
final
hashCode → int
The hash code for this object.
no setteroverride
meetsTarget → bool
False: no tone works; this is the strongest best effort.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tone → double
The shared tone, 0..100.
final
worstContrast → double
Weakest contrast backing the guarantee: against the pixels if clearsBackground, else against each border's own surface.
final

Methods

colorAt(int i) → Color

Available on SharedBorder, provided by the SharedBorderFlutter extension

The border for surface i, in the order passed to AnyBackground.sharedBorder.
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.
override