SnapComponentAtPosition constructor

const SnapComponentAtPosition({
  1. required Components component,
  2. required double position,
})

Represents a snap component that stops at a specific pixel position in the MultiStateSheet.

  • component: The component to associate with this position.
  • position: The fixed pixel position for the snap point.

Implementation

const SnapComponentAtPosition({
  required this.component,
  required this.position,
});