style: 生成按钮全宽加大,与表单控件对齐

This commit is contained in:
2026-07-31 17:15:26 +08:00
parent 24559417ad
commit 2535d8b9be
+11 -5
View File
@@ -187,11 +187,17 @@ class _OutfitPageState extends ConsumerState<OutfitPage> {
],
),
),
FilledButton(
onPressed: _submitting ? null : _generate,
style: FilledButton.styleFrom(
padding: const EdgeInsets.symmetric(vertical: 14)),
child: const Text('生成穿搭方案'),
SizedBox(
width: double.infinity,
child: FilledButton(
onPressed: _submitting ? null : _generate,
style: FilledButton.styleFrom(
padding: const EdgeInsets.symmetric(vertical: 16),
textStyle: const TextStyle(
fontSize: 16, fontWeight: FontWeight.w600),
),
child: const Text('生成穿搭方案'),
),
),
],
),