added final keyword (#77689)
This commit is contained in:
parent
7abee113e8
commit
99c75a7300
@ -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,
|
||||||
/// );
|
/// );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user