StyleCSS constructor
const
StyleCSS({
- String? textData,
- AlignContentCSS? alignContent,
- AlignItemsCSS? alignItems,
- AlignSelfCSS? alignSelf,
- BackgroundCSS? background,
- ColorCSS? backgroundColor,
- String? backgroundImage,
- ImagePositionCSS? backgroundPosition,
- ImageRepeatCSS? backgroundRepeat,
- ImageSizeCSS? backgroundSize,
- BorderCSS? border,
- BorderCSS? borderBottom,
- BorderCollapseCSS? borderCollapse,
- BorderCSS? borderLeft,
- BorderRadiusCSS? borderRadius,
- BorderCSS? borderRight,
- BorderCSS? borderTop,
- SizeCSS? bottom,
- BoxShadowCSS? boxShadow,
- BoxSizingCSS? boxSizing,
- ColorCSS? color,
- ContentCSS? content,
- CursorCSS? cursor,
- PointerEventsCSS? pointerEvents,
- PositionCSS? position,
- DisplayCSS? display,
- FilterCSS? filter,
- String? fontFamily,
- FlexDirectionCSS? flexDirection,
- FlexCSS? flex,
- SizeCSS? flexBasis,
- num? flexGrow,
- num? flexShrink,
- FlexWrapCSS? flexWrap,
- FloatCSS? float,
- SizeCSS? fontSize,
- FontWeightCSS? fontWeight,
- SizeCSS? height,
- SizeCSS? lineHeight,
- JustifyContentCSS? justifyContent,
- SizeCSS? left,
- EdgeInsetsCSS? margin,
- SizeCSS? marginBottom,
- SizeCSS? marginLeft,
- SizeCSS? marginRight,
- SizeCSS? marginTop,
- MaskCSS? mask,
- String? maskImage,
- ImagePositionCSS? maskPosition,
- ImageRepeatCSS? maskRepeat,
- ImageSizeCSS? maskSize,
- SizeCSS? maxHeight,
- SizeCSS? maxWidth,
- SizeCSS? minHeight,
- SizeCSS? minWidth,
- ObjectFitCSS? objectFit,
- ImagePositionCSS? objectPosition,
- double? opacity,
- BorderCSS? outline,
- OverflowCSS? overflow,
- OverflowCSS? overflowX,
- OverflowCSS? overflowY,
- OverflowWrapCSS? overflowWrap,
- EdgeInsetsCSS? padding,
- SizeCSS? right,
- TextAlignCSS? textAlign,
- TextDecorationCSS? textDecoration,
- TextTransformCSS? textTransform,
- TransitionCSS? transition,
- PropertyCSS? transitionProperty,
- DurationCSS? transitionDuration,
- DurationCSS? transitionDelay,
- TimingFunctionCSS? transitionTimingFunction,
- SizeCSS? top,
- UserSelectCSS? userSelect,
- WhiteSpaceCSS? whiteSpace,
- SizeCSS? width,
- int? zIndex,
- List<
PropertyCSS> important = const [],
Implementation
const StyleCSS({
this.textData,
this.alignContent,
this.alignItems,
this.alignSelf,
this.background,
this.backgroundColor,
this.backgroundImage,
this.backgroundPosition,
this.backgroundRepeat,
this.backgroundSize,
this.border,
this.borderBottom,
this.borderCollapse,
this.borderLeft,
this.borderRadius,
this.borderRight,
this.borderTop,
this.bottom,
this.boxShadow,
this.boxSizing,
this.color,
this.content,
this.cursor,
this.pointerEvents,
this.position,
this.display,
this.filter,
this.fontFamily,
this.flexDirection,
this.flex,
this.flexBasis,
this.flexGrow,
this.flexShrink,
this.flexWrap,
this.float,
this.fontSize,
this.fontWeight,
this.height,
this.lineHeight,
this.justifyContent,
this.left,
this.margin,
this.marginBottom,
this.marginLeft,
this.marginRight,
this.marginTop,
this.mask,
this.maskImage,
this.maskPosition,
this.maskRepeat,
this.maskSize,
this.maxHeight,
this.maxWidth,
this.minHeight,
this.minWidth,
this.objectFit,
this.objectPosition,
this.opacity,
this.outline,
this.overflow,
this.overflowX,
this.overflowY,
this.overflowWrap,
this.padding,
this.right,
this.textAlign,
this.textDecoration,
this.textTransform,
this.transition,
this.transitionProperty,
this.transitionDuration,
this.transitionDelay,
this.transitionTimingFunction,
this.top,
this.userSelect,
this.whiteSpace,
this.width,
this.zIndex,
this.important = const [],
});