#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 |
The FlutterPluginRegistrant that will be used when FlutterViewControllers are instantiated from nibs.
The FlutterAppDelegate itself can be passed in without creating a retain cycle.
This was introduced to help users migrate code from the FlutterAppDelegate when UISceneDelegate was adopted. Using FlutterViewController.pluginRegistrant should be preferred since it doesn't rely on the FlutterAppDelegate.
Definition at line 44 of file FlutterAppDelegate.h.
|
readwritenonatomiccopy |
Provided by category FlutterAppDelegate(Test).
|
readwritenonatomicstrong |
Definition at line 30 of file FlutterAppDelegate.h.