SnapComponentAtFraction class

Represents a snap component that stops at a specified fraction position.

Inheritance

Constructors

SnapComponentAtFraction({required Components component, required double fraction})
Represents a snap component that stops at a specified fraction position.
const

Properties

component Components
final
fraction double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getComponentOffsetFromTop<T>(MultiStateSheetExtent<T> extent, Components component) double
Gets the offset of the specified component from the top of viewport.
inherited
getComponentSize<T>(MultiStateSheetExtent<T> extent, Components component) double
Gets the base size of the specified component relative to the extent's initial configuration.
inherited
getSize<T>(MultiStateSheetExtent<T> extent) double
Calculates the size of the snap component relative to the provided extent.
override
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.
inherited