SmoothCardWithRoundedHeader constructor

const SmoothCardWithRoundedHeader({
  1. required Widget child,
  2. String? title,
  3. Widget? leading,
  4. double? leadingIconSize,
  5. EdgeInsetsGeometry? leadingMargin,
  6. EdgeInsetsGeometry? leadingPadding,
  7. Widget? trailing,
  8. TextStyle? titleTextStyle,
  9. EdgeInsetsGeometry? titlePadding,
  10. double? titleSpacing,
  11. EdgeInsetsGeometry? contentPadding,
  12. Color? titleBackgroundColor,
  13. Color? contentBackgroundColor,
  14. BorderRadius? borderRadius,
  15. bool includeShadow = true,
  16. Widget? banner,
  17. Clip? clipBehavior,
  18. Key? key,
})

Implementation

const SmoothCardWithRoundedHeader({
  required this.child,
  this.title,
  this.leading,
  this.leadingIconSize,
  this.leadingMargin,
  this.leadingPadding,
  this.trailing,
  this.titleTextStyle,
  this.titlePadding,
  this.titleSpacing,
  this.contentPadding,
  this.titleBackgroundColor,
  this.contentBackgroundColor,
  this.borderRadius,
  this.includeShadow = true,
  this.banner,
  this.clipBehavior,
  super.key,
});