# FlutterEngineGroupOptions

Objective-C

    @interface FlutterEngineGroupOptions : NSObject

Swift

    class FlutterEngineGroupOptions : NSObject

Options that control how a FlutterEngine should be created.

- `entrypoint`

  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.

  #### Declaration

  Objective-C

      @property (nonatomic, copy, nullable) NSString *entrypoint;

  Swift

      var entrypoint: String? { get set }

- `libraryURI`

  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.

  #### Declaration

  Objective-C

      @property (nonatomic, copy, nullable) NSString *libraryURI;

  Swift

      var libraryURI: String? { get set }

- `initialRoute`

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

  #### Declaration

  Objective-C

      @property (nonatomic, copy, nullable) NSString *initialRoute;

  Swift

      var initialRoute: String? { get set }

- `entrypointArgs`

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

  #### Declaration

  Objective-C

      @property (nonatomic, retain, nullable) NSArray<NSString *> *entrypointArgs;

  Swift

      var entrypointArgs: [String]? { get set }

© 2023 Flutter. All rights reserved. (Last updated: 2023-05-23)

Generated by jazzy ♪♫ v0.14.3, a Realm project.