You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
214 B
Dart
13 lines
214 B
Dart
4 years ago
|
import 'package:flutter/cupertino.dart';
|
||
|
|
||
|
class ToDoCountProviderModel with ChangeNotifier {
|
||
|
int _count;
|
||
|
|
||
|
int get count => _count;
|
||
|
|
||
|
void setState(int count) {
|
||
|
_count = count;
|
||
|
notifyListeners();
|
||
|
}
|
||
|
}
|