fillParent method
This determines how the shape should scale if it should try to fill its parents boundaries.
Implementation
@override
void fillParent() {
refreshVertices(
newVertices: RectangleComponent.sizeToVertices(size, anchor),
);
}
This determines how the shape should scale if it should try to fill its parents boundaries.
@override
void fillParent() {
refreshVertices(
newVertices: RectangleComponent.sizeToVertices(size, anchor),
);
}