Self-execute closure passed to assert (#14235)
This commit is contained in:
parent
8059aea365
commit
5ae770345a
@ -342,7 +342,7 @@ class RefreshIndicatorState extends State<RefreshIndicator> with TickerProviderS
|
||||
library: 'material library',
|
||||
));
|
||||
return true;
|
||||
});
|
||||
}());
|
||||
if (refreshResult == null)
|
||||
return;
|
||||
refreshResult.whenComplete(() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user