feat: 项目框架,全局空间处理

This commit is contained in:
chengsiwen committed 2026-06-26 15:58:29 +08:00
1 parent 4df6be7411
commit d90d023e85
36 files changed
+1166 -118

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
import 'package:flutter/material.dart';
import 'package:skywood/utils/tools/help_img.dart';
class CommonBgPage extends StatelessWidget {
const CommonBgPage({
super.key,
this.child,
});
final Widget? child;
@override
Widget build(BuildContext context) {
return Scaffold(
body: Stack(
children: [
SizedBox(
width: double.infinity,
height: double.infinity,
child: HelpImg.asset(ConstImg.homeBg, fit: BoxFit.fill),
),
child ?? SizedBox()
],
),
);
}
}
Whitespace-only changes.