FlutterDesktopEngineDestroy method

int FlutterDesktopEngineDestroy(
  1. Pointer<FlutterDesktopEngine> engine
)

Shuts down and destroys the given engine instance. Returns true if the shutdown was successful, or if the engine was not running.

engine is no longer valid after this call.

Implementation

int FlutterDesktopEngineDestroy(
  Pointer<FlutterDesktopEngine> engine,
) =>
    _FlutterDesktopEngineDestroy(
      engine,
    );