#include <FlutterAppDelegate.h>
Protected Attributes | |
| : UIResponder <UIApplicationDelegate | |
| FlutterPluginRegistry | |
Properties | |
| FlutterAppLifeCycleProvider UIWindow * | window |
| NSObject< FlutterPluginRegistrant > * | pluginRegistrant |
| IBOutlet NSMenu * | applicationMenu |
| IBOutlet NSWindow * | mainFlutterWindow |
| FlutterViewController *(^ | rootFlutterViewControllerGetter )(void) |
| FlutterPluginAppLifeCycleDelegate * | lifeCycleDelegate |
Additional Inherited Members | |
Instance Methods inherited from <FlutterAppLifecycleProvider> | |
| (void) | - addApplicationLifecycleDelegate: |
| (void) | - removeApplicationLifecycleDelegate: |
UIApplicationDelegate subclass for simple apps that want default behavior.
This class implements the following behaviors:
FlutterViewController, in order to trigger scroll to top.App delegates for Flutter applications are not required to inherit from this class. Developers of custom app delegate classes should copy and paste code as necessary from FlutterAppDelegate.mm.
|NSApplicationDelegate| subclass for simple apps that want default behavior.
This class implements the following behaviors:
NSApplicationDelegate callbacks to plugins that register for them.App delegates for Flutter applications are not required to inherit from this class. Developers of custom app delegate classes should copy and paste code as necessary from FlutterAppDelegate.mm.
Definition at line 27 of file FlutterAppDelegate.h.
|
protected |
Definition at line 26 of file FlutterAppDelegate.h.
|
protected |
Definition at line 28 of file FlutterAppDelegate.h.
|
readwritenonatomicweak |
The application menu in the menu bar.
Definition at line 59 of file FlutterAppDelegate.h.
|
readwritenonatomicstrong |
Provided by category FlutterAppDelegate(Test).
Definition at line 27 of file FlutterSceneLifeCycle+Test.h.
|
readwritenonatomicweak |
The primary application window containing a FlutterViewController. This is primarily intended for use in single-window applications.
Definition at line 65 of file FlutterAppDelegate.h.
Referenced by flutter::FlutterPlatformNodeDelegateMac::GetNSWindow().
|
readwritenonatomicstrong |
A user-assignable FlutterPluginRegistrant for deferred plugin registration.
For applications adopting the UISceneDelegate lifecycle, the recommended approach is to update the application's UIApplicationDelegate to conform to FlutterImplicitEngineDelegate and perform plugin registration via the generated plugin registrant in the didInitializeImplicitFlutterEngine callback.
Alternatively, assigning a FlutterPluginRegistrant to this property allows Flutter to automatically handle plugin registration when a FlutterEngine becomes available, avoiding the need to implement delegate callbacks.
The FlutterAppDelegate itself can be assigned to this property without creating a retain cycle (e.g., self.pluginRegistrant = self;).
Definition at line 50 of file FlutterAppDelegate.h.
|
readwritenonatomiccopy |
Provided by category FlutterAppDelegate(Test).
|
readwritenonatomicstrong |
Definition at line 30 of file FlutterAppDelegate.h.