SnapComponentMerge constructor

const SnapComponentMerge({
  1. required SnapComponent a,
  2. required SnapComponent b,
  3. 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,
});