CWidget constructor

CWidget({
  1. Key? key,
  2. EdgeInsetsGeometry? margin,
  3. double? width,
  4. double? height,
  5. EdgeInsetsGeometry? padding,
  6. Border? border,
  7. int? flex,
  8. bool? expanded,
  9. Style? style,
  10. double? gap,
  11. double? lineWidth,
  12. Color? lineColor,
  13. Color? backgroundColor,
  14. dynamic onTap()?,
  15. Widget? icon,
  16. Widget? rearIcon,
  17. CrossAxisAlignment? crossAxisAlignment,
  18. MainAxisAlignment? mainAxisAlignment,
  19. MainAxisSize? mainAxisSize,
  20. Alignment? alignment,
  21. Decoration? decoration,
  22. bool? visible,
  23. double? borderRadius,
  24. double? iconMargin,
  25. double? rearIconMargin,
  26. List<Widget>? children,
  27. String? tag,
  28. Axis? scrollDirection,
})

Implementation

CWidget(
    {super.key,
    this.margin,
    this.width,
    this.height,
    this.padding,
    this.border,
    this.flex,
    this.expanded,
    this.style,
    this.gap,
    this.lineWidth,
    this.lineColor,
    this.backgroundColor,
    this.onTap,
    this.icon,
    this.rearIcon,
    this.crossAxisAlignment,
    this.mainAxisAlignment,
    this.mainAxisSize,
    this.alignment,
    this.decoration,
    this.visible,
    this.borderRadius,
    this.iconMargin,
    this.rearIconMargin,
    this.children,
    this.tag,
    this.scrollDirection});