FocalPoint constructor

const FocalPoint({
  1. Offset ratio = Offset.zero,
  2. Offset offset = Offset.zero,
})

Constructs a FocalPoint with an optional ratio and offset, both defaulting to the origin point if not provided.

Implementation

const FocalPoint({
  this.ratio = Offset.zero,
  this.offset = Offset.zero,
});