SnapComponentMap class

A wrapper around a snap component that applies a mapping function to its size.

Inheritance

Constructors

SnapComponentMap(SnapComponent component, {required OffsetMap map})
A wrapper around a snap component that applies a mapping function to its size.
const

Properties

component SnapComponent
final
hashCode int
The hash code for this object.
no setterinherited
map OffsetMap
final
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