案例优化

This commit is contained in:
toly
2022-03-26 18:10:17 +08:00
parent aa2f392419
commit 36b5adbd7b
257 changed files with 1491 additions and 1400 deletions

View File

@@ -12,10 +12,12 @@ import 'package:flutter/material.dart';
// "【child】 : 孩子组件 【Widget】",
// }
class CustomCenter extends StatelessWidget {
const CustomCenter({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Container(
margin: EdgeInsets.all(5),
margin: const EdgeInsets.all(5),
width: 200,
height: 100,
color: Colors.grey.withAlpha(88),