From 91cfc1fe312fa3e134090e5fecde7d5b08af9cf5 Mon Sep 17 00:00:00 2001 From: "James D. Lin" Date: Wed, 14 Nov 2018 14:25:05 -0800 Subject: [PATCH] Fix a few typos in comments (#24249) --- packages/flutter/lib/src/rendering/box.dart | 2 +- packages/flutter/lib/src/widgets/framework.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index 544c65c38e..7b9cbbc68f 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -845,7 +845,7 @@ class _IntrinsicDimensionsCacheEntry { /// The declaration of the `RenderFoo` class itself would thus look like this: /// /// ```dart -/// class RenderFlex extends RenderBox with +/// class RenderFoo extends RenderBox with /// ContainerRenderObjectMixin, /// RenderBoxContainerDefaultsMixin { /// // ... diff --git a/packages/flutter/lib/src/widgets/framework.dart b/packages/flutter/lib/src/widgets/framework.dart index 3cee8e25fc..a776ada9a7 100644 --- a/packages/flutter/lib/src/widgets/framework.dart +++ b/packages/flutter/lib/src/widgets/framework.dart @@ -613,7 +613,7 @@ abstract class StatelessWidget extends Widget { /// description of the user interface is fully concrete (e.g., consists /// entirely of [RenderObjectWidget]s, which describe concrete [RenderObject]s). /// -/// Stateful widget are useful when the part of the user interface you are +/// Stateful widgets are useful when the part of the user interface you are /// describing can change dynamically, e.g. due to having an internal /// clock-driven state, or depending on some system state. For compositions that /// depend only on the configuration information in the object itself and the