动我项目仓库 flutter:3.22 dart:3.4.4
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.
 
 
 
 
 
 

23 lines
402 B

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();
}
}