MiuixBasicComponent constructor

const MiuixBasicComponent({
  1. Key? key,
  2. String? title,
  3. MiuixBasicComponentColors? titleColor,
  4. String? summary,
  5. MiuixBasicComponentColors? summaryColor,
  6. Widget? startAction,
  7. List<Widget>? endActions,
  8. Widget? bottomAction,
  9. EdgeInsetsGeometry insideMargin = MiuixBasicComponentDefaults.insideMargin,
  10. VoidCallback? onClick,
  11. String? onClickLabel,
  12. MiuixBasicComponentRole? role,
  13. bool holdDownState = false,
  14. bool enabled = true,
  15. 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,
});