File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ FLUTTER_EXPORT
122122 * contains `main()`), using `main()` as the entrypoint (the default for Flutter projects).
123123 *
124124 * The first call to this method will create a new Isolate. Subsequent calls will return
125- * immediately.
125+ * immediately and have no effect .
126126 *
127127 * @return YES if the call succeeds in creating and running a Flutter Engine instance; NO otherwise.
128128 */
@@ -133,7 +133,7 @@ FLUTTER_EXPORT
133133 * contains `main()`).
134134 *
135135 * The first call to this method will create a new Isolate. Subsequent calls will return
136- * immediately.
136+ * immediately and have no effect .
137137 *
138138 * @param entrypoint The name of a top-level function from the same Dart
139139 * library that contains the app's main() function. If this is FlutterDefaultDartEntrypoint (or
@@ -149,7 +149,7 @@ FLUTTER_EXPORT
149149 * which may not be the same as the library containing the Dart program's `main()` function.
150150 *
151151 * The first call to this method will create a new Isolate. Subsequent calls will return
152- * immediately.
152+ * immediately and have no effect .
153153 *
154154 * @param entrypoint The name of a top-level function from a Dart library. If this is
155155 * FlutterDefaultDartEntrypoint (or nil); this will default to `main()`. If it is not the app's
Original file line number Diff line number Diff line change @@ -105,11 +105,15 @@ FLUTTER_EXPORT
105105- (NSString *)lookupKeyForAsset : (NSString *)asset fromPackage : (NSString *)package ;
106106
107107/* *
108- * Sets the first route that the Flutter app shows. The default is "/".
109- * This method will guarnatee that the initial route is delivered, even if the
110- * Flutter window hasn't been created yet when called. It cannot be used to update
111- * the current route being shown in a visible FlutterViewController (see pushRoute
112- * and popRoute).
108+ * Attempts to set the first route that the Flutter app shows if the Flutter
109+ * runtime hasn't yet started. The default is "/".
110+ *
111+ * This method must be called immediately after `initWithProject` and has no
112+ * effect when using `initWithEngine` if the `FlutterEngine` has already been
113+ * run.
114+ *
115+ * Setting this after the Flutter started running has no effect. See `pushRoute`
116+ * and `popRoute` to change the route after Flutter started running.
113117 *
114118 * @param route The name of the first route to show.
115119 */
You can’t perform that action at this time.
0 commit comments