From f62b2a60a33e66f9a62a2c25e13678c021d5d060 Mon Sep 17 00:00:00 2001 From: "xiajun.wang" <1043468081@qq.com> Date: Thu, 24 Jan 2019 14:52:22 +0800 Subject: [PATCH 1/3] Word Modification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 补货->捕获 --- flutter-for-ios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter-for-ios.md b/flutter-for-ios.md index 5c875ce..76ae61c 100644 --- a/flutter-for-ios.md +++ b/flutter-for-ios.md @@ -972,7 +972,7 @@ MaterialApp( ### 我该怎么监听 iOS 中的生命周期事件? -在 iOS 中,你可以重写 `ViewController` 中的方法来补货它的视图的生命周期,或者在 `AppDelegate` 中注册生命周期的回调函数。在 Flutter 中没有这两个概念,但你可以通过 hook `WidgetsBinding` 观察者来监听生命周期事件,并监听 `didChangeAppLifecycleState()` 的变化事件。 +在 iOS 中,你可以重写 `ViewController` 中的方法来捕获它的视图的生命周期,或者在 `AppDelegate` 中注册生命周期的回调函数。在 Flutter 中没有这两个概念,但你可以通过 hook `WidgetsBinding` 观察者来监听生命周期事件,并监听 `didChangeAppLifecycleState()` 的变化事件。 可观察的生命周期事件有: From a62e55f943144b54b90d57ba943ce3c3d03b9186 Mon Sep 17 00:00:00 2001 From: WangYyyyy Date: Thu, 31 Jan 2019 09:02:10 +0800 Subject: [PATCH 2/3] Update flutter-for-ios.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原文a couple of options, 一般这么用是指几个, 原文'一对'中文看也不太合适 --- flutter-for-ios.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flutter-for-ios.md b/flutter-for-ios.md index 5c875ce..ae00ed6 100644 --- a/flutter-for-ios.md +++ b/flutter-for-ios.md @@ -386,7 +386,7 @@ Widget build(BuildContext context) { Flutter 也有类似的实现,使用了 `Navigator` 和 `Routes`。一个路由是 App 中“屏幕”或“页面”的抽象,而一个 Navigator 是管理多个路由的 [widget](https://flutter.io/flutter-for-ios/technical-overview/#everythings-a-widget) 。你可以粗略地把一个路由对应到一个 `UIViewController`。Navigator 的工作原理和 iOS 中 `UINavigationController` 非常相似,当你想跳转到新页面或者从新页面返回时,它可以 `push()` 和 `pop()` 路由。 -在页面之间跳转,你有一对选择: +在页面之间跳转,你有几个选择: - 具体指定一个由路由名构成的 `Map`。(MaterialApp) - 直接跳转到一个路由。(WidgetApp) From 6b1ad974bef7b2985cc322bb51d59b1ad4f9152e Mon Sep 17 00:00:00 2001 From: yoyo837 Date: Tue, 12 Feb 2019 11:28:43 +0800 Subject: [PATCH 3/3] =?UTF-8?q?fix:=20=E9=93=BE=E6=8E=A5=E4=B8=A2=E5=A4=B1?= =?UTF-8?q?=E6=8B=AC=E5=8F=B7=EF=BC=9B=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E2=80=98=E6=80=BB=E2=80=99=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faq.md b/faq.md index ef8fdf4..d69ab85 100644 --- a/faq.md +++ b/faq.md @@ -359,7 +359,7 @@ Flutter是一个多范式编程环境。在Flutter中使用了过去几十年中 ### 我在哪里可以获得支持? -如果您认为遇到了错误,请将反应到我们的[issue](https://github.com/flutter/flutter/issues中总。我们鼓励您使用 [Stack Overflow](https://stackoverflow.com/tags/flutter)来处理“HOWTO”类型的问题。有关讨论,请加入我们的邮件列表 [flutter-dev@googlegroups.com](mailto:flutter-dev@googlegroups.com)。 +如果您认为遇到了错误,请将反应到我们的[issue](https://github.com/flutter/flutter/issues)中。我们鼓励您使用 [Stack Overflow](https://stackoverflow.com/tags/flutter)来处理“HOWTO”类型的问题。有关讨论,请加入我们的邮件列表 [flutter-dev@googlegroups.com](mailto:flutter-dev@googlegroups.com)。 ### Flutter是开源的吗?