import 'package:flutter/material.dart'; import 'package:dating_touchme_app/http/api.dart'; import 'package:dating_touchme_app/utils/storage.dart'; class UserInfo with ChangeNotifier{ int current = 0; currentAdd(){ current += 1; notifyListeners(); } currentReduce(){ current -= 1; notifyListeners(); } setCurrent(int num){ current = num; notifyListeners(); } }