5 #ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERHEADLESSDARTRUNNER_H_
6 #define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERHEADLESSDARTRUNNER_H_
8 #import <Foundation/Foundation.h>
33 FLUTTER_DEPRECATED(
"FlutterEngine should be used rather than FlutterHeadlessDartRunner")
49 - (instancetype)initWithName:(NSString*)labelPrefix project:(
FlutterDartProject*)projectOrNil;
65 - (instancetype)initWithName:(NSString*)labelPrefix
67 allowHeadlessExecution:(BOOL)allowHeadlessExecution;
84 - (instancetype)initWithName:(NSString*)labelPrefix
86 allowHeadlessExecution:(BOOL)allowHeadlessExecution
87 restorationEnabled:(BOOL)restorationEnabled NS_DESIGNATED_INITIALIZER;
97 #endif // FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_HEADERS_FLUTTERHEADLESSDARTRUNNER_H_