@@ -14,7 +14,7 @@ class _AnimationState extends State<Animation>
14
14
bool selected = false ;
15
15
bool _large = false ;
16
16
double _size = 50.0 ;
17
- AnimationController controller;
17
+ AnimationController ? controller;
18
18
bool _first = true ;
19
19
double _fontSize = 30 ;
20
20
Color _color = GFColors .SUCCESS ;
@@ -24,12 +24,12 @@ class _AnimationState extends State<Animation>
24
24
super .initState ();
25
25
controller =
26
26
AnimationController (duration: const Duration (seconds: 2 ), vsync: this );
27
- controller.repeat ();
27
+ controller! .repeat ();
28
28
}
29
29
30
30
@override
31
31
void dispose () {
32
- if (controller != null ) controller.dispose ();
32
+ if (controller != null ) controller! .dispose ();
33
33
super .dispose ();
34
34
}
35
35
@@ -72,12 +72,12 @@ class _AnimationState extends State<Animation>
72
72
),
73
73
type: GFTypographyType .typo5,
74
74
dividerWidth: 45 ,
75
- dividerColor: Color (0xFF19CA4B ),
75
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
76
76
),
77
77
),
78
78
GestureDetector (
79
79
onTap: () {
80
- controller.repeat ();
80
+ controller! .repeat ();
81
81
},
82
82
child: GFAnimation (
83
83
controller: controller,
@@ -105,12 +105,12 @@ class _AnimationState extends State<Animation>
105
105
),
106
106
type: GFTypographyType .typo5,
107
107
dividerWidth: 45 ,
108
- dividerColor: Color (0xFF19CA4B ),
108
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
109
109
),
110
110
),
111
111
GestureDetector (
112
112
onTap: () {
113
- controller.repeat ();
113
+ controller! .repeat ();
114
114
},
115
115
child: GFAnimation (
116
116
controller: controller,
@@ -137,7 +137,7 @@ class _AnimationState extends State<Animation>
137
137
),
138
138
type: GFTypographyType .typo5,
139
139
dividerWidth: 45 ,
140
- dividerColor: Color (0xFF19CA4B ),
140
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
141
141
),
142
142
),
143
143
GFAnimation (
@@ -165,7 +165,7 @@ class _AnimationState extends State<Animation>
165
165
),
166
166
type: GFTypographyType .typo5,
167
167
dividerWidth: 45 ,
168
- dividerColor: Color (0xFF19CA4B ),
168
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
169
169
),
170
170
),
171
171
Container (
@@ -194,7 +194,7 @@ class _AnimationState extends State<Animation>
194
194
),
195
195
type: GFTypographyType .typo5,
196
196
dividerWidth: 45 ,
197
- dividerColor: Color (0xFF19CA4B ),
197
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
198
198
),
199
199
),
200
200
GFAnimation (
@@ -228,7 +228,7 @@ class _AnimationState extends State<Animation>
228
228
),
229
229
type: GFTypographyType .typo5,
230
230
dividerWidth: 45 ,
231
- dividerColor: Color (0xFF19CA4B ),
231
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
232
232
),
233
233
),
234
234
GFAnimation (
@@ -259,7 +259,7 @@ class _AnimationState extends State<Animation>
259
259
),
260
260
type: GFTypographyType .typo5,
261
261
dividerWidth: 45 ,
262
- dividerColor: Color (0xFF19CA4B ),
262
+ dividerColor: Color (0xFF19CA4B ), text : '' ,
263
263
),
264
264
),
265
265
GFAnimation (
0 commit comments