OffsetPair constructor Null safety

const OffsetPair(
  1. {required Offset local,
  2. required Offset global}
)

Creates a OffsetPair combining a local and global Offset.

Implementation

const OffsetPair({
  required this.local,
  required this.global,
});