ModulaCard constructor

const ModulaCard({
  1. Key? key,
  2. Widget? header,
  3. Widget? body,
  4. Widget? footer,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(16),
  6. double elevation = 4,
  7. BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(12)),
  8. Color color = Colors.white,
  9. bool removeBetweenPadding = true,
})

Implementation

const ModulaCard({
  super.key,
  this.header,
  this.body,
  this.footer,
  this.padding = const EdgeInsets.all(16),
  this.elevation = 4,
  this.borderRadius = const BorderRadius.all(Radius.circular(12)),
  this.color = Colors.white,
  this.removeBetweenPadding = true,
});