HarborEdgeEffect class

What a bar draws at its edge: how the boundary between the bar and the content passing under it is drawn.

A fade makes content dissolve as it passes under the bar, and its length counts toward how far content rests from the bar (restsAt), so the band and the resting line can never drift apart. A hairline draws a line on the bar's inner face, for a bar that content scrolls up to rather than under.

See also:

Mixed-in types
Annotations

Constructors

HarborEdgeEffect.fade({double length = 16.0, double blurSigma = 0.0, HarborRest restsAt = HarborRest.fadeEnd, double faceOpacity = 0.25, Curve curve = Curves.linear})
Content fades out over length past the bar's inner face, and the content under the bar is frosted by blurSigma if it is above zero.
const
HarborEdgeEffect.hairline({double thickness = 1.0, Color color = const Color(0x1F000000)})
A line of thickness on the bar's inner face.
const

Properties

blurSigma → double
Frosting of the content under the bar; zero for none.
final
clearance → double
How much of length adds to the distance content rests from the bar.
no setter
color → Color?
The hairline's color.
final
curve → Curve
The shape of a fade's ramp from faceOpacity at the bar's inner face to fully opaque where the fade ends.
final
faceOpacity → double
How opaque content is at the bar's inner face, for a fade.
final
hashCode → int
The hash code for this object.
no setteroverride
kind → HarborEdgeEffectKind
final
length → double
How far past the bar's inner face the fade runs, or the hairline's thickness.
final
restsAt → HarborRest
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) → String
A string representation of this object.
inherited
toStringShort() → String
A brief description of this object, usually just the runtimeType and the hashCode.
override

Operators

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

Constants

none → const HarborEdgeEffect
No boundary at all.