File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ class Animate extends StatefulWidget with AnimateManager<Animate> {
134134 /// ```
135135 final AnimateCallback ? onPlay;
136136
137- /// Defines a delay before the animation is started. Unlike [BeginEndEffect .delay] ,
137+ /// Defines a delay before the animation is started. Unlike [Effect .delay] ,
138138 /// this is not a part of the overall animation, and only runs once if the
139139 /// animation is looped. [onPlay] is called after this delay.
140140 final Duration delay;
@@ -163,7 +163,7 @@ class Animate extends StatefulWidget with AnimateManager<Animate> {
163163 @override
164164 State <Animate > createState () => _AnimateState ();
165165
166- /// Adds an effect. This is mostly used by [BeginEndEffect ] extension methods to append effects
166+ /// Adds an effect. This is mostly used by [Effect ] extension methods to append effects
167167 /// to an [Animate] instance.
168168 @override
169169 Animate addEffect (Effect effect) {
@@ -284,7 +284,7 @@ class _AnimateState extends State<Animate> with SingleTickerProviderStateMixin {
284284extension AnimateWidgetExtensions on Widget {
285285 Animate animate ({
286286 Key ? key,
287- List <BeginEndEffect >? effects,
287+ List <Effect >? effects,
288288 AnimateCallback ? onComplete,
289289 AnimateCallback ? onPlay,
290290 Duration delay = Duration .zero,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ class AnimateList<T extends Widget> extends ListBase<Widget> with AnimateManager
4646 /// instance, and proxy any added effects to each of them.
4747 AnimateList ({
4848 required List <Widget > children,
49- List <BeginEndEffect >? effects,
49+ List <Effect >? effects,
5050 Duration ? interval,
5151 AnimateCallback ? onPlay,
5252 AnimateCallback ? onComplete,
@@ -75,7 +75,7 @@ class AnimateList<T extends Widget> extends ListBase<Widget> with AnimateManager
7575 final List <Widget > _widgets = [];
7676 final List <Animate > _managers = [];
7777
78- /// Adds an effect. This is mostly used by [BeginEndEffect ] extension methods to
78+ /// Adds an effect. This is mostly used by [Effect ] extension methods to
7979 /// append effects to an [AnimateList] instance.
8080 @override
8181 AnimateList addEffect (Effect effect) {
@@ -107,7 +107,7 @@ class AnimateList<T extends Widget> extends ListBase<Widget> with AnimateManager
107107/// Ex. `[foo, bar].animate()` is equivalent to `AnimateList(children: [foo, bar])` .
108108extension AnimateListExtensions on List <Widget > {
109109 AnimateList animate ({
110- List <BeginEndEffect >? effects,
110+ List <Effect >? effects,
111111 Duration ? interval,
112112 AnimateCallback ? onPlay,
113113 AnimateCallback ? onComplete,
Original file line number Diff line number Diff line change 11import 'package:flutter/widgets.dart' ;
2- import 'package:flutter_animate/effects/variations/slide_in.dart' ;
32
43import '../../flutter_animate.dart' ;
54
You can’t perform that action at this time.
0 commit comments