Constants

The following constants are available globally.

  • A constant used with FlutterMethodCallHandler to respond to the call of an unknown method.

    Declaration

    Objective-C

    extern const NSObject *_Nonnull FlutterMethodNotImplemented
  • A constant used with FlutterEventChannel to indicate end of stream.

    Declaration

    Objective-C

    extern const NSObject *_Nonnull FlutterEndOfEventStream
  • The dart entrypoint that is associated with main(). This is to be used as an argument to the runWithEntrypoint* methods.

    Declaration

    Objective-C

    extern NSString *const _Nonnull FlutterDefaultDartEntrypoint
  • The default Flutter initial route (“/”).

    Declaration

    Objective-C

    extern NSString *const _Nonnull FlutterDefaultInitialRoute
  • The name used for semantic update notifications via NSNotificationCenter.

    The object passed as the sender is the FlutterViewController associated with the update.

    Declaration

    Objective-C

    extern const NSNotificationName _Nonnull FlutterSemanticsUpdateNotification