UnCard constructor Null safety

const UnCard(
  1. {Key? key,
  2. Widget? header,
  3. required Widget body,
  4. Widget? footer,
  5. bool isSelected = false,
  6. bool isExpandable = false,
  7. GestureTapCallback? onTap}
)

Implementation

const UnCard({
  super.key,
  this.header,
  required this.body,
  this.footer,
  this.isSelected = false,
  this.isExpandable = false,
  this.onTap,
});