FlutterDesktopEngineCreate method

Pointer<FlutterDesktopEngine> FlutterDesktopEngineCreate(
  1. Pointer<FlutterDesktopEngineProperties> engine_properties
)

Creates a Flutter engine with the given properties.

The caller owns the returned reference, and is responsible for calling FlutterDesktopEngineDestroy. The lifetime of engine_properties is required to extend only until the end of this call.

Implementation

Pointer<FlutterDesktopEngine> FlutterDesktopEngineCreate(
  Pointer<FlutterDesktopEngineProperties> engine_properties,
) =>
    _FlutterDesktopEngineCreate(
      engine_properties,
    );