小筆記下拉刷新頁面

child: Container(
                child: RefreshIndicator(
                onRefresh: _refresh,
                child:Column()
        )

Future<Null> _refresh() async {
    setState(() {
      _list.clear();
      _serviceList.clear();
      _describeList.clear();
    });
    _getCourse();
    _getAdvertisement();
    _getTuitionService();
    return;
  }

還有上拉加載數據需要學習

相关文章:

  • 2021-07-01
  • 2021-12-29
  • 2022-12-23
  • 2022-01-27
  • 2021-11-17
  • 2021-08-19
  • 2021-08-25
  • 2022-12-23
猜你喜欢
  • 2021-08-24
  • 2023-03-17
  • 2018-12-19
  • 2022-02-07
  • 2021-10-16
  • 2021-12-03
相关资源
相似解决方案