resize method

void resize(
  1. Size size
)

This is a hook called by BaseGame to let this component know that the screen (or flame draw area) has been update.

It receives the new size. You can use the Resizable mixin if you want an implementation of this hook that keeps track of the current size.

Implementation

void resize(Size size) {}