InfoCardWithRiverpod<T> constructor

const InfoCardWithRiverpod<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. Widget builder(
    1. BuildContext,
    2. WidgetRef
    )?,
  9. bool showBorder = true,
  10. Color? borderColor,
  11. bool useSliver = false,
})

Implementation

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