You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,22 +27,50 @@ class GFAnimation extends StatefulWidget {
36
27
this.textOverflow,
37
28
this.maxLines,
38
29
this.textWidthBasis,
30
+
this.fontSize,
31
+
this.fontWeight,
39
32
}) :super(key: key);
40
33
34
+
/// The duration for animations of the [Decoration].
41
35
finalDuration duration;
36
+
37
+
/// Defines how the animated widget is aligned within the Animation.
42
38
finalAlignment alignment;
39
+
40
+
/// Defines how the animated widget is aligned(after the onTap) within the Animation.
43
41
finalAlignment activeAlignment;
42
+
43
+
/// The child of type [Widget] to display animation effect.
44
44
finalWidget child;
45
+
46
+
/// Determines the animation curve physics. Defaults to [Curves.linear].
45
47
finalCurve curve;
48
+
49
+
///type of [GFAnimation] which takes the type ie, align, size, container, rotateTransition, scaleTransition, slideTransition, and textStyle for the [GFAnimation]
46
50
finalGFAnimationType type;
51
+
47
52
finaldouble width;
48
53
finaldouble height;
49
54
finalColor activeColor;
55
+
56
+
/// defines the color of items
50
57
finalColor color;
51
-
finalEdgeInsets padding, margin;
58
+
59
+
/// The empty space that surrounds the animation. Defines the animation outer [Container.padding]..
60
+
finalEdgeInsetsGeometry padding;
61
+
62
+
/// The empty space that surrounds the animation. Defines the animation outer [Container.margin].
63
+
finalEdgeInsetsGeometry margin;
52
64
finalFunction onTap;
65
+
66
+
/// Here's an illustration of the [RotationTransition] widget, with it's [turnsAnimation]
67
+
/// animated by a [Tween] set to [animate]:
53
68
finalAnimation<double> turnsAnimation;
69
+
70
+
/// Here's an illustration of the [ScaleTransition] widget, with it's [scaleAnimation]
71
+
/// animated by a [CurvedAnimation] set to [Curves.linear]:
54
72
finalAnimation<double> scaleAnimation;
73
+
55
74
finalAnimationController controller;
56
75
finalTextDirection textDirection;
57
76
finalAnimation<Offset> slidePosition;
@@ -60,6 +79,8 @@ class GFAnimation extends StatefulWidget {
0 commit comments