SnapComponentMerge constructor
const
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.
a: The first component in the merge.b: The second component in the merge.merge: The function to combine the sizes of the two components.
Implementation
const SnapComponentMerge({
required this.a,
required this.b,
required this.merge,
});