onLoad method

FutureOr<void> onLoad()

Called once when the owning component loads. Override to prepare textures or other resources.

Implementation

FutureOr<void> onLoad() {}