From 7a07b28c93a3df01d0b0eee69fb1f74ddc0542ff Mon Sep 17 00:00:00 2001 From: Greg Spencer Date: Tue, 28 Aug 2018 09:12:16 -0700 Subject: [PATCH] Fix typo in AnimatedWidget (#21091) --- packages/flutter/lib/src/widgets/transitions.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/flutter/lib/src/widgets/transitions.dart b/packages/flutter/lib/src/widgets/transitions.dart index 04b48c745a..a4d10f8df7 100644 --- a/packages/flutter/lib/src/widgets/transitions.dart +++ b/packages/flutter/lib/src/widgets/transitions.dart @@ -19,9 +19,8 @@ export 'package:flutter/rendering.dart' show RelativeRect; /// [Listenable], but it can be used with any [Listenable], including /// [ChangeNotifier] and [ValueNotifier]. /// -/// [AnimatedWidget] is most useful for widgets widgets that are otherwise -/// stateless. To use [AnimatedWidget], simply subclass it and implement the -/// build function. +/// [AnimatedWidget] is most useful for widgets that are otherwise stateless. To +/// use [AnimatedWidget], simply subclass it and implement the build function. /// /// For more complex case involving additional state, consider using /// [AnimatedBuilder].