feat: 优化前端 UI 与交互体验
This commit is contained in:
@@ -10,6 +10,7 @@ class AccountSectionCard extends StatelessWidget {
|
||||
required this.child,
|
||||
this.backgroundColor = AppColors.white,
|
||||
this.borderColor = AppColors.borderSecondary,
|
||||
this.contentPadding = const EdgeInsets.all(AppSpacing.lg),
|
||||
});
|
||||
|
||||
final String? title;
|
||||
@@ -17,12 +18,13 @@ class AccountSectionCard extends StatelessWidget {
|
||||
final Widget child;
|
||||
final Color backgroundColor;
|
||||
final Color borderColor;
|
||||
final EdgeInsetsGeometry contentPadding;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
width: double.infinity,
|
||||
padding: const EdgeInsets.all(AppSpacing.lg),
|
||||
padding: contentPadding,
|
||||
decoration: BoxDecoration(
|
||||
color: backgroundColor,
|
||||
borderRadius: BorderRadius.circular(AppRadius.xl),
|
||||
|
||||
Reference in New Issue
Block a user