File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -122,12 +122,11 @@ class _PositionedIndicatorContainer extends StatelessWidget {
122122 /// Position child widget in a similar way
123123 /// to the built-in [RefreshIndicator] widget.
124124 const _PositionedIndicatorContainer ({
125- Key ? key,
126125 required this .child,
127126 required this .controller,
128127 required this .displacement,
129128 required this .edgeOffset,
130- }) : super (key : key) ;
129+ });
131130
132131 Alignment _getAlignement (IndicatorSide side) {
133132 switch (side) {
@@ -219,8 +218,8 @@ class _InfiniteRotation extends StatefulWidget {
219218 const _InfiniteRotation ({
220219 required this .child,
221220 required this .running,
222- Key ? key,
223- }) : super (key : key);
221+ });
222+
224223 @override
225224 _InfiniteRotationState createState () => _InfiniteRotationState ();
226225}
Original file line number Diff line number Diff line change @@ -187,12 +187,11 @@ class _PositionedIndicatorContainer extends StatelessWidget {
187187 /// Position child widget in a similar way
188188 /// to the built-in [RefreshIndicator] widget.
189189 const _PositionedIndicatorContainer ({
190- Key ? key,
191190 required this .child,
192191 required this .controller,
193192 required this .displacement,
194193 required this .edgeOffset,
195- }) : super (key : key) ;
194+ });
196195
197196 Alignment _getAlignement (IndicatorSide side) {
198197 switch (side) {
@@ -289,8 +288,8 @@ class _InfiniteRotation extends StatefulWidget {
289288 const _InfiniteRotation ({
290289 required this .child,
291290 required this .running,
292- Key ? key,
293- }) : super (key : key);
291+ });
292+
294293 @override
295294 _InfiniteRotationState createState () => _InfiniteRotationState ();
296295}
Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ class DefaultList extends StatelessWidget {
4848 final ScrollPhysics physics;
4949
5050 const DefaultList ({
51- Key ? key,
51+ super . key,
5252 required this .itemsCount,
5353 this .reverse = false ,
5454 this .controller,
5555 this .physics = const AlwaysScrollableScrollPhysics (),
56- }) : super (key : key) ;
56+ });
5757
5858 @override
5959 Widget build (BuildContext context) {
@@ -1205,6 +1205,7 @@ void main() {
12051205 IndicatorState .idle
12061206 ]),
12071207 );
1208+
12081209 /// Builder methos is called only on state changes
12091210 expect (rebuildsCount, equals (states.length));
12101211 expect (indicatorChangesCount, greaterThan (rebuildsCount));
You can’t perform that action at this time.
0 commit comments