MiuixBasicComponent constructor
const
MiuixBasicComponent({
- Key? key,
- String? title,
- MiuixBasicComponentColors? titleColor,
- String? summary,
- MiuixBasicComponentColors? summaryColor,
- Widget? startAction,
- List<
Widget> ? endActions, - Widget? bottomAction,
- EdgeInsetsGeometry insideMargin = MiuixBasicComponentDefaults.insideMargin,
- VoidCallback? onClick,
- String? onClickLabel,
- MiuixBasicComponentRole? role,
- bool holdDownState = false,
- bool enabled = true,
- List<
Widget> ? content,
Implementation
const MiuixBasicComponent({
super.key,
this.title,
this.titleColor,
this.summary,
this.summaryColor,
this.startAction,
this.endActions,
this.bottomAction,
this.insideMargin = MiuixBasicComponentDefaults.insideMargin,
this.onClick,
this.onClickLabel,
this.role,
this.holdDownState = false,
this.enabled = true,
this.content,
});