Files
git-touch/lib/models/notification.dart
2019-09-02 20:40:20 +08:00

12 lines
198 B
Dart

import 'package:flutter/material.dart';
class NotificationModel with ChangeNotifier {
int _count = 0;
int get count => _count;
setCount(int v) {
_count = v;
notifyListeners();
}
}