AppleView constructor

AppleView(
  1. World world, {
  2. required int width,
  3. required int height,
})

Throws a FynkelException with FynkelStatus.unsupported off Apple.

Implementation

AppleView(World world, {required int width, required int height})
  : super._(
      world,
      width,
      height,
      WorldView._create((out) => fy_view_new_apple(world.pointer, width, height, out)),
      // Flutter's raster thread may be using it, so it's never freed by
      // the garbage collector, only by [dispose] after the plugin let go.
      finalize: false,
    );