assertHasLayout method

  1. @protected
void assertHasLayout()
inherited

Implementation

@protected
void assertHasLayout() {
  assert(
    hasLayout,
    '"size" is not ready yet. Did you try to access it on the Game '
    'constructor? Use the "onLoad" method instead.',
  );
}