ComponentsSnappingModel constructor

ComponentsSnappingModel({
  1. required List<SnapComponent> componentsDescriptions,
})

Represents a snapping model for calculating snapping positions and states based on the sizes of Widgets in a MultiStateSheet. It generates snapping positions using the provided descriptions of components.

This model is used inside the sheet SnappingBehavior UX objects.

Implementation

ComponentsSnappingModel({required this.componentsDescriptions});