File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,3 +41,5 @@ app.*.map.json
41
41
42
42
# Exceptions to above rules.
43
43
! /packages /flutter_tools /test /data /dart_dependencies_test /** /.packages
44
+
45
+ pubspec.lock
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class HomePage extends StatelessWidget {
79
79
}
80
80
}
81
81
82
- /// Just a Counter. V of pattern MVC
82
+ /// Just a Counter Widget . V of pattern MVC
83
83
class CountPointer extends StatefulWidget {
84
84
const CountPointer ({
85
85
Key ? key,
@@ -163,7 +163,7 @@ class _CountPointerState extends State<CountPointer> {
163
163
// }
164
164
165
165
// **** 这里重新定义了Model类型
166
-
166
+ /// Just a Controller. C of pattern MVC
167
167
class CountPointerController extends ValueNotifier <CountPointValue > {
168
168
CountPointerController (super .value);
169
169
@@ -199,6 +199,7 @@ class RestorableCountPointController extends RestorableChangeNotifier<CountPoint
199
199
}
200
200
}
201
201
202
+ /// Just a Model. M of pattern MVC
202
203
@immutable
203
204
class CountPointValue {
204
205
const CountPointValue ({this .count = 0 });
You can’t perform that action at this time.
0 commit comments