apply method
Called before relayout to restore the saved state and restart the layout in the same conditions
Implementation
@override
void apply(GridViewContext other) {
firstChild = other.firstChild;
lastChild = other.lastChild;
childCrossAxis = other.childCrossAxis ?? childCrossAxis;
childMainAxis = other.childMainAxis ?? childMainAxis;
}