HeaderFooterCard constructor

HeaderFooterCard(
  1. {Key? key,
  2. Widget? header,
  3. required Widget body,
  4. Widget? footer,
  5. double elevation = 20,
  6. Clip clipBehavior = Clip.antiAliasWithSaveLayer,
  7. ShapeBorder? shape,
  8. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.stretch,
  9. bool expandBody = true}
)

Implementation

HeaderFooterCard({
  Key? key,
  this.header,
  required this.body,
  this.footer,
  this.elevation = 20,
  this.clipBehavior = Clip.antiAliasWithSaveLayer,
  ShapeBorder? shape,
  this.crossAxisAlignment = CrossAxisAlignment.stretch,
  this.expandBody = true,
}) : super(key: key) {
  this.shape = shape ??
      RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(50),
      );
}