📝 替换项目中的所有var

This commit is contained in:
toly
2020-10-21 16:06:38 +08:00
parent b837084305
commit 07a97df5b2
159 changed files with 405 additions and 417 deletions

View File

@@ -18,7 +18,7 @@ class CustomUnConstrainedBox extends StatefulWidget {
}
class _CustomUnConstrainedBoxState extends State<CustomUnConstrainedBox> {
var _value = false;
bool _value = false;
@override
Widget build(BuildContext context) {
@@ -29,7 +29,7 @@ class _CustomUnConstrainedBoxState extends State<CustomUnConstrainedBox> {
}
Widget _buildUnconstrainedBox() {
var child = Container(
Widget child = Container(
color: Colors.cyanAccent,
width: 60,
height: 60,