@interface FlutterEngineGroup : NSObject
Represents a collection of FlutterEngines who share resources which allows them to be created with less time const and occupy less memory than just creating multiple FlutterEngines.
Deleting a FlutterEngineGroup doesn’t invalidate existing FlutterEngines, but it eliminates the possibility to create more FlutterEngines in that group.
WarningThis class is a work-in-progress and may change.
- (instancetype)init NS_UNAVAILABLE;
Initialize a new FlutterEngineGroup.
- (nonnull instancetype)initWithName:(nonnull NSString *)name project:(nullable FlutterDartProject *)project;
The name that will present in the threads shared across the engines in this group.
FlutterDartProjectthat all FlutterEngines in this group will be executing.