Unverified Commit 99c75a73 authored by Viral Kachhadiya's avatar Viral Kachhadiya Committed by GitHub

added final keyword (#77689)

parent 7abee113
...@@ -307,11 +307,11 @@ class SlideTransition extends AnimatedWidget { ...@@ -307,11 +307,11 @@ class SlideTransition extends AnimatedWidget {
/// above: /// above:
/// ///
/// ```dart /// ```dart
/// late AnimationController _controller = AnimationController( /// late final AnimationController _controller = AnimationController(
/// duration: const Duration(seconds: 2), /// duration: const Duration(seconds: 2),
/// vsync: this, /// vsync: this,
/// )..repeat(reverse: true); /// )..repeat(reverse: true);
/// late Animation<double> _animation = CurvedAnimation( /// late final Animation<double> _animation = CurvedAnimation(
/// parent: _controller, /// parent: _controller,
/// curve: Curves.fastOutSlowIn, /// curve: Curves.fastOutSlowIn,
/// ); /// );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment