基础组件库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main_page_notifier.dart 252 B

123456789101112131415
  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. }