BaseWidget constructor
const
BaseWidget({
- Key? key,
- double? width,
- double? height,
- double? margin,
- double? marginLeft,
- double? marginTop,
- double? marginRight,
- double? marginBottom,
- double? padding,
- double? paddingLeft,
- double? paddingTop,
- double? paddingRight,
- double? paddingBottom,
- Color? backgroundColor,
- double? strokeWidth,
- Color? strokeColor,
- Color? solidColor,
- double? radius,
- bool? isCircle,
- double? leftTopRadius,
- double? rightTopRadius,
- double? leftBottomRadius,
- double? rightBottomRadius,
- Widget? childWidget,
- Alignment? alignment,
- int? gradient,
- List<
Color> ? gradientColorList, - List<
double> ? gradientColorStops, - Alignment? gradientBegin,
- Alignment? gradientEnd,
- VoidCallback? onClick,
- VoidCallback? onDoubleClick,
- VoidCallback? onLongPress,
Implementation
const BaseWidget(
{super.key,
this.width,
this.height,
this.margin,
this.marginLeft,
this.marginTop,
this.marginRight,
this.marginBottom,
this.padding,
this.paddingLeft,
this.paddingTop,
this.paddingRight,
this.paddingBottom,
this.backgroundColor,
this.strokeWidth,
this.strokeColor,
this.solidColor,
this.radius,
this.isCircle,
this.leftTopRadius,
this.rightTopRadius,
this.leftBottomRadius,
this.rightBottomRadius,
this.childWidget,
this.alignment,
this.gradient,
this.gradientColorList,
this.gradientColorStops,
this.gradientBegin,
this.gradientEnd,
this.onClick,
this.onDoubleClick,
this.onLongPress});