create static method

Future<FlexDelegate> create()

Creates a FlexDelegate asynchronously.

Behaves like the synchronous constructor, including throwing UnsupportedError on Android, where flex was removed in flutter_litert 4.0.0.

Implementation

static Future<FlexDelegate> create() async => FlexDelegate();