InfoCard<T> constructor

const InfoCard<T>({
  1. Key? key,
  2. required InfoHeaderBase header,
  3. required InfoList<T> body,
  4. bool isRound = false,
  5. Color? backgroundColor,
  6. EdgeInsetsGeometry? margin,
  7. EdgeInsetsGeometry? padding,
  8. bool showBorder = true,
  9. Color? borderColor,
  10. bool useSliver = false,
})

Implementation

const InfoCard({
  super.key,
  required this.header,
  required this.body,
  this.isRound = false,
  this.backgroundColor,
  this.margin,
  this.padding,
  this.showBorder = true,
  this.borderColor,
  this.useSliver = false,
});