Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
FlutterEngineGroupOptions Class Reference

#include <FlutterEngineGroup.h>

Inheritance diagram for FlutterEngineGroupOptions:

Instance Methods

(void) - dealloc [implementation]
 

Properties

NSString * entrypoint
 
NSString * libraryURI
 
NSString * initialRoute
 
NSArray< NSString * > * entrypointArgs
 

Detailed Description

Options that control how a FlutterEngine should be created.

Definition at line 16 of file FlutterEngineGroup.h.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 1 of file FlutterEngineGroup.mm.

10 {
11 [_entrypoint release];
12 [_libraryURI release];
13 [_initialRoute release];
14 [_entrypointArgs release];
15 [super dealloc];
16}

Property Documentation

◆ entrypoint

- (NSString*) entrypoint
readwritenonatomiccopy

The name of a top-level function from a Dart library. If this is FlutterDefaultDartEntrypoint (or nil); this will default to main(). If it is not the app's main() function, that function must be decorated with @pragma(vm:entry-point) to ensure themethod is not tree-shaken by the Dart compiler.

Definition at line 24 of file FlutterEngineGroup.h.

◆ entrypointArgs

- (NSArray<NSString*>*) entrypointArgs
readwritenonatomicretain

Arguments passed as a list of string to Dart's entrypoint function.

Definition at line 41 of file FlutterEngineGroup.h.

◆ initialRoute

- (NSString*) initialRoute
readwritenonatomiccopy

The name of the initial Flutter Navigator Route to load. If this is FlutterDefaultInitialRoute (or nil), it will default to the "/" route.

Definition at line 36 of file FlutterEngineGroup.h.

◆ libraryURI

- (NSString*) libraryURI
readwritenonatomiccopy

The URI of the Dart library which contains the entrypoint method. If nil, this will default to the same library as the main() function in the Dart program.

Definition at line 30 of file FlutterEngineGroup.h.


The documentation for this class was generated from the following files: