center constant
ReferencePosition
const center
A ReferencePosition
whose x
and y
values are both 0.5
,
referring to the center of a viewport.
Implementation
static const center = ReferencePosition(0.5, 0.5);