CBasic<T extends Conjured> constructor
const
CBasic<T extends Conjured> ({
- Key? key,
- required T model,
- Widget? leading,
- Widget? title,
- Widget? subtitle,
- Widget? content,
- Widget? trailing,
- AlignmentGeometry? leadingAlignment,
- AlignmentGeometry? trailingAlignment,
- AlignmentGeometry? titleAlignment,
- AlignmentGeometry? subtitleAlignment,
- AlignmentGeometry? contentAlignment,
- double? contentSpacing,
- double? titleSpacing,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- 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,
});