IDOffset.only constructor
const
IDOffset.only({})
Implementation
const IDOffset.only({
this.left = 0.0,
this.top = 0.0,
this.right = 0.0,
this.bottom = 0.0,
}) : assert(top >= 0.0 &&
top <= 1.0 &&
left >= 0.0 &&
left <= 1.0 &&
right >= 0.0 &&
right <= 1.0 &&
bottom >= 0.0 &&
bottom <= 1.0),
assert(top >= 0.0 && bottom == 0.0 || top == 0.0 && bottom >= 0.0);