CustomSliverCard constructor

const CustomSliverCard({
  1. required Widget child,
  2. Key? key,
  3. Widget? title,
  4. String? titleText,
  5. int? count,
  6. Widget? trailing,
  7. bool expandable = true,
  8. bool initialExpanded = true,
  9. ValueChanged<bool>? onExpandChanged,
  10. String? additionalInfoText,
  11. Widget? additionalInfo,
})

SliverCard 分组 Sliver 组件

Implementation

const CustomSliverCard({
  required this.child,
  super.key,
  this.title,
  this.titleText,
  this.count,
  this.trailing,
  this.expandable = true,
  this.initialExpanded = true,
  this.onExpandChanged,
  this.additionalInfoText,
  this.additionalInfo,
});