更新页面
This commit is contained in:
@@ -5,7 +5,6 @@ class CustomCard extends StatefulWidget {
|
||||
final VoidCallback onTap; // 点击回调
|
||||
final List<Color> colors; // 背景颜色列表
|
||||
final Widget child; // 子组件
|
||||
final String title; // 标题
|
||||
final bool enableAnimation; // 是否启用动画效果
|
||||
final bool enableGradient; // 是否启用渐变
|
||||
|
||||
@@ -15,7 +14,6 @@ class CustomCard extends StatefulWidget {
|
||||
required this.onTap,
|
||||
required this.colors,
|
||||
required this.child,
|
||||
required this.title,
|
||||
this.enableAnimation = true, // 默认启用动画效果
|
||||
this.enableGradient = true, // 默认启用渐变效果
|
||||
}) : super(key: key);
|
||||
|
||||
Reference in New Issue
Block a user