SliverCardWithRoundedHeader constructor

const SliverCardWithRoundedHeader({
  1. required String title,
  2. required Widget child,
  3. required bool pinned,
  4. Widget? leading,
  5. double? leadingIconSize,
  6. EdgeInsetsGeometry? leadingPadding,
  7. Widget? trailing,
  8. TextStyle? titleTextStyle,
  9. EdgeInsetsGeometry? titlePadding,
  10. EdgeInsetsGeometry? contentPadding,
  11. Color? titleBackgroundColor,
  12. Color? contentBackgroundColor,
  13. BorderRadius? borderRadius,
  14. Widget? banner,
  15. Key? key,
})

Implementation

const SliverCardWithRoundedHeader({
  required this.title,
  required this.child,
  required this.pinned,
  this.leading,
  this.leadingIconSize,
  this.leadingPadding,
  this.trailing,
  this.titleTextStyle,
  this.titlePadding,
  this.contentPadding,
  this.titleBackgroundColor,
  this.contentBackgroundColor,
  this.borderRadius,
  this.banner,
  super.key,
});