|
123456789101112131415 |
- import 'package:flutter/material.dart';
-
- class MainPageNotifier with ChangeNotifier {
- bool scrollEnd = false;
-
- void loadMore() {
- scrollEnd = true;
- notifyListeners();
- }
-
- void reset() {
- scrollEnd = false;
- notifyListeners();
- }
- }
|