StyleCSS class

Constructors

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 []})
const
StyleCSS.fromText(String textData)
factory

Properties

alignContent AlignContentCSS?
final
alignItems AlignItemsCSS?
final
alignSelf AlignSelfCSS?
final
background BackgroundCSS?
final
backgroundColor ColorCSS?
final
backgroundImage String?
final
backgroundPosition ImagePositionCSS?
final
backgroundRepeat ImageRepeatCSS?
final
backgroundSize ImageSizeCSS?
final
border BorderCSS?
final
borderBottom BorderCSS?
final
borderCollapse BorderCollapseCSS?
final
borderLeft BorderCSS?
final
borderRadius BorderRadiusCSS?
final
borderRight BorderCSS?
final
borderTop BorderCSS?
final
bottom SizeCSS?
final
boxShadow BoxShadowCSS?
final
boxSizing BoxSizingCSS?
final
color ColorCSS?
final
content ContentCSS?
final
cursor CursorCSS?
final
display DisplayCSS?
final
filter FilterCSS?
final
flex FlexCSS?
final
flexBasis SizeCSS?
final
flexDirection FlexDirectionCSS?
final
flexGrow num?
final
flexShrink num?
final
flexWrap FlexWrapCSS?
final
float FloatCSS?
final
fontFamily String?
final
fontSize SizeCSS?
final
fontWeight FontWeightCSS?
final
hashCode int
The hash code for this object.
no setterinherited
height SizeCSS?
final
important List<PropertyCSS>
final
justifyContent JustifyContentCSS?
final
left SizeCSS?
final
lineHeight SizeCSS?
final
margin EdgeInsetsCSS?
final
marginBottom SizeCSS?
final
marginLeft SizeCSS?
final
marginRight SizeCSS?
final
marginTop SizeCSS?
final
mask MaskCSS?
final
maskImage String?
final
maskPosition ImagePositionCSS?
final
maskRepeat ImageRepeatCSS?
final
maskSize ImageSizeCSS?
final
maxHeight SizeCSS?
final
maxWidth SizeCSS?
final
minHeight SizeCSS?
final
minWidth SizeCSS?
final
objectFit ObjectFitCSS?
final
objectPosition ImagePositionCSS?
final
opacity double?
final
outline BorderCSS?
final
overflow OverflowCSS?
final
overflowWrap OverflowWrapCSS?
final
overflowX OverflowCSS?
final
overflowY OverflowCSS?
final
padding EdgeInsetsCSS?
final
pointerEvents PointerEventsCSS?
final
position PositionCSS?
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textAlign TextAlignCSS?
final
textData String?
final
textDecoration TextDecorationCSS?
final
textTransform TextTransformCSS?
final
top SizeCSS?
final
transition TransitionCSS?
final
transitionDelay DurationCSS?
final
transitionDuration DurationCSS?
final
transitionProperty PropertyCSS?
final
transitionTimingFunction → TimingFunctionCSS?
final
userSelect UserSelectCSS?
final
whiteSpace WhiteSpaceCSS?
final
width SizeCSS?
final
zIndex int?
final

Methods

build() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override