基础组件库
 
 
 
 
 

16 lines
252 B

  1. import 'package:flutter/material.dart';
  2. class MainPageNotifier with ChangeNotifier {
  3. bool scrollEnd = false;
  4. void loadMore() {
  5. scrollEnd = true;
  6. notifyListeners();
  7. }
  8. void reset() {
  9. scrollEnd = false;
  10. notifyListeners();
  11. }
  12. }