Pinned.fromPins constructor

Pinned.fromPins(
  1. Pin hPin,
  2. Pin vPin, {
  3. required Widget child,
  4. Key? key,
})

Positions and sizes a single child based on settings defined in horizontal and vertical Pin instances. See the Pin documentation for details.

Implementation

Pinned.fromPins(this.hPin, this.vPin, {required Widget child, Key? key})
    : super(key: key, child: child);