XItem constructor
XItem({
- Key? key,
- dynamic onTap()?,
- double? width,
- double? wrapSpacing,
- double? wrapWidth,
- double? wrapHeight,
- double? wrapRunSpacing,
- Axis? wrapDirection,
- AlignmentGeometry? titleAlignOnTop,
- MainAxisAlignment? mainAxisAlignmentXItem,
- Widget? titleWidget,
- CrossAxisAlignment? crossAxisAlignmentXItem,
- double? heightOfWidgetForEmptyList,
- Color? colorCard,
- TextStyle? titleStyle,
- AlignmentGeometry? titleAlignOnLeft,
- Color? titleColor,
- Color? titleBorderColor,
- String? title = "",
- double titleContainerWidth = 150,
- double? titleContainerHeight,
- List<
Widget> ? children, - CrossAxisAlignment? childrensCrossAxisAlignment,
- bool titleOnTop = false,
- TextAlign titleTextAlign = TextAlign.center,
- Color? titleBackGroundColor,
- double? titleWidthBorder,
- double? height,
- BoxConstraints? constraintsOfXItem,
Implementation
XItem({
Key? key,
this.onTap,
this.width,
this.wrapSpacing,
this.wrapWidth,
this.wrapHeight,
this.wrapRunSpacing,
this.wrapDirection,
this.titleAlignOnTop,
this.mainAxisAlignmentXItem,
this.titleWidget,
this.crossAxisAlignmentXItem,
this.heightOfWidgetForEmptyList,
this.colorCard,
this.titleStyle,
this.titleAlignOnLeft,
// this.visibleBottomBorderOfCard__ = false,
this.titleColor,
this.titleBorderColor,
this.title = "",
this.titleContainerWidth = 150,
this.titleContainerHeight,
this.children,
this.childrensCrossAxisAlignment,
this.titleOnTop = false,
this.titleTextAlign = TextAlign.center,
this.titleBackGroundColor,
this.titleWidthBorder,
double? height,
BoxConstraints? constraintsOfXItem,
}) : constraintsOfXItem = (width != null || height != null) ? constraintsOfXItem?.tighten(width: width, height: height) ?? BoxConstraints.tightFor(width: width, height: height) : constraintsOfXItem,
super(key: key);