LayoutConstraints.tight constructor
- Vector2 size
Exactly size in both axes. Aliases size, which must be immutable.
Implementation
const LayoutConstraints.tight(Vector2 size)
: assert(
size is! MVector2,
'size must be immutable. '
'Copy it with Vector2.copy first.',
),
min = size,
max = size;