Alignment constructor Null safety
Creates an alignment.
The x
and y
arguments must not be null.
Implementation
const Alignment(this.x, this.y)
: assert(x != null),
assert(y != null);
Creates an alignment.
The x
and y
arguments must not be null.
const Alignment(this.x, this.y)
: assert(x != null),
assert(y != null);