代码格式优化完毕

This commit is contained in:
toly
2022-03-26 21:25:40 +08:00
parent 36b5adbd7b
commit 59f8125e1a
265 changed files with 1684 additions and 1494 deletions

View File

@@ -14,27 +14,29 @@ import 'package:flutter/material.dart';
// "【fit】 : 适应模式 【StackFit】",
// }
class CustomStack extends StatelessWidget {
const CustomStack({Key? key}) : super(key: key);
@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,