SnapComponentAtFraction constructor
const
SnapComponentAtFraction({
- required Components component,
- required double fraction,
Represents a snap component that stops at a specified fraction position.
component: The component to associate with this fraction.fraction: The fraction of the viewport to calculate the position.
Implementation
const SnapComponentAtFraction({
required this.component,
required this.fraction,
});