SnapComponentMap constructor
const
SnapComponentMap(
- SnapComponent component, {
- required OffsetMap map,
A wrapper around a snap component that applies a mapping function to its size.
component: The base component whose size will be mapped.map: The mapping function to transform the size of the component.
Implementation
const SnapComponentMap(
this.component, {
required this.map,
});