File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ class RefreshIndicatorState extends State<RefreshIndicator> with TickerProviderS
308
308
_mode = _RefreshIndicatorMode .snap;
309
309
_positionController
310
310
.animateTo (1.0 / _kDragSizeFactorLimit, duration: _kIndicatorSnapDuration)
311
- .then ((Null value) {
311
+ .then < Null > ((Null value) {
312
312
if (mounted && _mode == _RefreshIndicatorMode .snap) {
313
313
assert (widget.onRefresh != null );
314
314
setState (() {
Original file line number Diff line number Diff line change @@ -291,7 +291,7 @@ class AnimatedListState extends State<AnimatedList> with TickerProviderStateMixi
291
291
_itemsCount += 1 ;
292
292
});
293
293
294
- controller.forward ().then ((Null value) {
294
+ controller.forward ().then < Null > ((Null value) {
295
295
_removeActiveItemAt (_incomingItems, incomingItem.itemIndex).controller.dispose ();
296
296
});
297
297
}
@@ -326,7 +326,7 @@ class AnimatedListState extends State<AnimatedList> with TickerProviderStateMixi
326
326
..sort ();
327
327
});
328
328
329
- controller.reverse ().then ((Null value) {
329
+ controller.reverse ().then < Null > ((Null value) {
330
330
_removeActiveItemAt (_outgoingItems, outgoingItem.itemIndex).controller.dispose ();
331
331
332
332
// Decrement the incoming and outgoing item indices to account
You can’t perform that action at this time.
0 commit comments