📝 替换项目中的所有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

@@ -12,25 +12,25 @@ import 'package:flutter/material.dart';
class PositionedStack extends StatelessWidget {
@override
Widget build(BuildContext context) {
var yellowBox = Container(
Widget yellowBox = Container(
color: Colors.yellow,
height: 100,
width: 100,
);
var redBox = Container(
Widget redBox = Container(
color: Colors.red,
height: 90,
width: 90,
);
var greenBox = Container(
Widget greenBox = Container(
color: Colors.green,
height: 80,
width: 80,
);
var cyanBox = Container(
Widget cyanBox = Container(
color: Colors.cyanAccent,
height: 70,
width: 70,