added final keyword (#77689)

This commit is contained in:
Viral Kachhadiya 2021-03-10 03:10:02 +05:30 committed by GitHub
parent 7abee113e8
commit 99c75a7300
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,11 +307,11 @@ class SlideTransition extends AnimatedWidget {
/// above:
///
/// ```dart
/// late AnimationController _controller = AnimationController(
/// late final AnimationController _controller = AnimationController(
/// duration: const Duration(seconds: 2),
/// vsync: this,
/// )..repeat(reverse: true);
/// late Animation<double> _animation = CurvedAnimation(
/// late final Animation<double> _animation = CurvedAnimation(
/// parent: _controller,
/// curve: Curves.fastOutSlowIn,
/// );