SnapComponentMerge class

A snap component that merges the sizes of two components using a custom merge function.

Inheritance

Constructors

SnapComponentMerge({required SnapComponent a, required SnapComponent b, required OffsetMerge merge})
A snap component that merges the sizes of two components using a custom merge function.
const

Properties

a → SnapComponent
final
b → SnapComponent
final
hashCode → int
The hash code for this object.
no setterinherited
merge → OffsetMerge
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