import 'package:flutter/material.dart'; import 'package:flutter_screenutil/flutter_screenutil.dart'; class CaptureListPage extends StatelessWidget { const CaptureListPage({super.key}); @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: const Text('Align 对齐布局 Demo11111')), // ---------- 下方即为核心代码,可直接复制到 Scaffold body ---------- body: Container( width: 300.w, height: 300.h, color: Colors.grey[300], ), ); } }