CBasic<T extends Conjured> constructor

const CBasic<T extends Conjured>({
  1. Key? key,
  2. required T model,
  3. Widget? leading,
  4. Widget? title,
  5. Widget? subtitle,
  6. Widget? content,
  7. Widget? trailing,
  8. AlignmentGeometry? leadingAlignment,
  9. AlignmentGeometry? trailingAlignment,
  10. AlignmentGeometry? titleAlignment,
  11. AlignmentGeometry? subtitleAlignment,
  12. AlignmentGeometry? contentAlignment,
  13. double? contentSpacing,
  14. double? titleSpacing,
  15. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  16. EdgeInsetsGeometry? padding,
})

Implementation

const CBasic({
  super.key,
  required this.model,
  this.leading,
  this.title,
  this.subtitle,
  this.content,
  this.trailing,
  this.leadingAlignment,
  this.trailingAlignment,
  this.titleAlignment,
  this.subtitleAlignment,
  this.contentAlignment,
  this.contentSpacing, // 16
  this.titleSpacing, //4
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.padding,
});