From dda7382e491d6c0f05306209c112d53993787d7f Mon Sep 17 00:00:00 2001 From: Michael Goderbauer Date: Fri, 14 Sep 2018 12:42:20 +0200 Subject: [PATCH] Fix the the (#21732) --- packages/flutter/lib/src/widgets/platform_view.dart | 2 +- packages/flutter/lib/src/widgets/routes.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/widgets/platform_view.dart b/packages/flutter/lib/src/widgets/platform_view.dart index fbafbd620d..43983c23d7 100644 --- a/packages/flutter/lib/src/widgets/platform_view.dart +++ b/packages/flutter/lib/src/widgets/platform_view.dart @@ -44,7 +44,7 @@ import 'framework.dart'; /// The Android view's lifetime is the same as the lifetime of the [State] object for this widget. /// When the [State] is disposed the platform view (and auxiliary resources) are lazily /// released (some resources are immediately released and some by platform garbage collector). -/// A stateful widget's state is disposed the the widget is removed from the tree or when it is +/// A stateful widget's state is disposed when the widget is removed from the tree or when it is /// moved within the tree. If the stateful widget has a key and it's only moved relative to its siblings, /// or it has a [GlobalKey] and it's moved within the tree, it will not be disposed. class AndroidView extends StatefulWidget { diff --git a/packages/flutter/lib/src/widgets/routes.dart b/packages/flutter/lib/src/widgets/routes.dart index fc912ee1d5..fd1fde39cd 100644 --- a/packages/flutter/lib/src/widgets/routes.dart +++ b/packages/flutter/lib/src/widgets/routes.dart @@ -909,7 +909,7 @@ abstract class ModalRoute extends TransitionRoute with LocalHistoryRoute true;