EasyCard constructor

const EasyCard({
  1. Key? key,
  2. String? title,
  3. IconData? icon,
  4. Widget? extra,
  5. bool? border = true,
  6. required Widget child,
  7. bool? shadow = false,
  8. double? padding = iDefaultGap * 2,
  9. VoidCallback? onClick,
})

卡片

Implementation

const EasyCard({
  Key? key,
  this.title,
  this.icon,
  this.extra,
  this.border = true,
  required this.child,
  this.shadow = false,
  this.padding = iDefaultGap * 2,
  this.onClick,
}) : super(key: key);