CWidget constructor
CWidget({
- Key? key,
- EdgeInsetsGeometry? margin,
- double? width,
- double? height,
- EdgeInsetsGeometry? padding,
- Border? border,
- int? flex,
- bool? expanded,
- Style? style,
- double? gap,
- double? lineWidth,
- Color? lineColor,
- Color? backgroundColor,
- dynamic onTap()?,
- Widget? icon,
- Widget? rearIcon,
- CrossAxisAlignment? crossAxisAlignment,
- MainAxisAlignment? mainAxisAlignment,
- MainAxisSize? mainAxisSize,
- Alignment? alignment,
- Decoration? decoration,
- bool? visible,
- double? borderRadius,
- double? iconMargin,
- double? rearIconMargin,
- List<
Widget> ? children, - String? tag,
- 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});