Fix typo in AnimatedWidget (#21091)

This commit is contained in:
Greg Spencer 2018-08-28 09:12:16 -07:00 committed by GitHub
parent c5b7766cbb
commit 7a07b28c93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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].