BasicCard constructor

const BasicCard({
  1. required Widget child,
  2. Color? color,
  3. double? height,
  4. double? width,
  5. EdgeInsetsGeometry margin = EdgeInsets.zero,
  6. EdgeInsetsGeometry padding = const EdgeInsets.all(8),
  7. BorderRadius borderRadius = const BorderRadius.all(Radius.circular(6)),
  8. BasicBorder border = const BasicBorder.none(),
  9. Key? key,
})

Implementation

const BasicCard({
  required this.child,
  this.color,
  this.height,
  this.width,
  this.margin = EdgeInsets.zero,
  this.padding = const EdgeInsets.all(8),
  this.borderRadius = const BorderRadius.all(Radius.circular(6)),
  this.border = const BasicBorder.none(),
  super.key,
});