我想从头开始播放GIF。而是从先前的位置继续播放。如何实现呢?
getHomePage(BuildContext context) {
return isLoading
? Center(
child: new Image(image: new AssetImage("res/img/gif/giphy.gif"),
),
)
: MyRefreshIndicator(
backgroundColor: Colors.white,
key: _refreshIndicatorKey,
onRefresh: _refresh,
child: ListView.builder(
itemCount: list.length,
itemBuilder: _getItemUI,
padding: EdgeInsets.all(0.0),
));
}