'How to start a CupertinoSliverRefreshControl from flutter initState(){}
I'm trying to show CupertinoSliverRefreshControl for showing initial loading.
This could be achieved in Material RefreshIndicator like this refreshKey.currentState.show();
in my init()
method
But for Cupertino there's no such method show()
Solution 1:[1]
This currently is not possible, upvote this issue to give it some more attention.
An alternative would be to create your own version (for instance by copying the flutter code and adjusting it)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Pieter van Loon |