styles method
T
styles({
- All? all,
- String? content,
- Display? display,
- Position? position,
- ZIndex? zIndex,
- Unit? width,
- Unit? height,
- Unit? minWidth,
- Unit? minHeight,
- Unit? maxWidth,
- Unit? maxHeight,
- AspectRatio? aspectRatio,
- Padding? padding,
- Margin? margin,
- BoxSizing? boxSizing,
- Border? border,
- BorderRadius? radius,
- Outline? outline,
- double? opacity,
- Visibility? visibility,
- Overflow? overflow,
- Appearance? appearance,
- BoxShadow? shadow,
- Filter? filter,
- Filter? backdropFilter,
- Cursor? cursor,
- UserSelect? userSelect,
- PointerEvents? pointerEvents,
- Animation? animation,
- Transition? transition,
- Transform? transform,
- FlexDirection? flexDirection,
- FlexWrap? flexWrap,
- JustifyContent? justifyContent,
- AlignItems? alignItems,
- AlignContent? alignContent,
- GridTemplate? gridTemplate,
- List<
TrackSize> ? autoRows, - List<
TrackSize> ? autoColumns, - JustifyItems? justifyItems,
- Gap? gap,
- Flex? flex,
- int? order,
- AlignSelf? alignSelf,
- JustifySelf? justifySelf,
- GridPlacement? gridPlacement,
- ListStyle? listStyle,
- ImageStyle? listImage,
- ListStylePosition? listPosition,
- Color? color,
- TextAlign? textAlign,
- FontFamily? fontFamily,
- Unit? fontSize,
- FontWeight? fontWeight,
- FontStyle? fontStyle,
- TextDecoration? textDecoration,
- TextTransform? textTransform,
- Unit? textIndent,
- Unit? letterSpacing,
- Unit? wordSpacing,
- Unit? lineHeight,
- TextShadow? textShadow,
- TextOverflow? textOverflow,
- WhiteSpace? whiteSpace,
- Quotes? quotes,
- Color? backgroundColor,
- ImageStyle? backgroundImage,
- BackgroundOrigin? backgroundOrigin,
- BackgroundPosition? backgroundPosition,
- BackgroundAttachment? backgroundAttachment,
- BackgroundRepeat? backgroundRepeat,
- BackgroundSize? backgroundSize,
- BackgroundClip? backgroundClip,
- Map<
String, String> ? raw,
Implementation
T styles({
All? all,
// Box Styles
String? content,
Display? display,
Position? position,
ZIndex? zIndex,
Unit? width,
Unit? height,
Unit? minWidth,
Unit? minHeight,
Unit? maxWidth,
Unit? maxHeight,
AspectRatio? aspectRatio,
Padding? padding,
Margin? margin,
BoxSizing? boxSizing,
Border? border,
BorderRadius? radius,
Outline? outline,
double? opacity,
Visibility? visibility,
Overflow? overflow,
Appearance? appearance,
BoxShadow? shadow,
Filter? filter,
Filter? backdropFilter,
Cursor? cursor,
UserSelect? userSelect,
PointerEvents? pointerEvents,
Animation? animation,
Transition? transition,
Transform? transform,
// Flexbox Styles
FlexDirection? flexDirection,
FlexWrap? flexWrap,
JustifyContent? justifyContent,
AlignItems? alignItems,
AlignContent? alignContent,
// Grid Styles
GridTemplate? gridTemplate,
List<TrackSize>? autoRows,
List<TrackSize>? autoColumns,
JustifyItems? justifyItems,
Gap? gap,
// Item Styles
Flex? flex,
int? order,
AlignSelf? alignSelf,
JustifySelf? justifySelf,
GridPlacement? gridPlacement,
// List Styles
ListStyle? listStyle,
ImageStyle? listImage,
ListStylePosition? listPosition,
// Text Styles
Color? color,
TextAlign? textAlign,
FontFamily? fontFamily,
Unit? fontSize,
FontWeight? fontWeight,
FontStyle? fontStyle,
TextDecoration? textDecoration,
TextTransform? textTransform,
Unit? textIndent,
Unit? letterSpacing,
Unit? wordSpacing,
Unit? lineHeight,
TextShadow? textShadow,
TextOverflow? textOverflow,
WhiteSpace? whiteSpace,
Quotes? quotes,
// Background Styles
Color? backgroundColor,
ImageStyle? backgroundImage,
BackgroundOrigin? backgroundOrigin,
BackgroundPosition? backgroundPosition,
BackgroundAttachment? backgroundAttachment,
BackgroundRepeat? backgroundRepeat,
BackgroundSize? backgroundSize,
BackgroundClip? backgroundClip,
// Raw Styles
Map<String, String>? raw,
}) => combine(
Styles(
all: all,
padding: padding,
margin: margin,
display: display,
boxSizing: boxSizing,
width: width,
height: height,
minWidth: minWidth,
maxWidth: maxWidth,
minHeight: minHeight,
maxHeight: maxHeight,
aspectRatio: aspectRatio,
border: border,
radius: radius,
outline: outline,
overflow: overflow,
appearance: appearance,
visibility: visibility,
position: position,
zIndex: zIndex,
opacity: opacity,
transform: transform,
shadow: shadow,
filter: filter,
backdropFilter: backdropFilter,
cursor: cursor,
animation: animation,
transition: transition,
userSelect: userSelect,
pointerEvents: pointerEvents,
color: color,
textAlign: textAlign,
fontFamily: fontFamily,
fontStyle: fontStyle,
fontSize: fontSize,
fontWeight: fontWeight,
textDecoration: textDecoration,
textTransform: textTransform,
textIndent: textIndent,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
lineHeight: lineHeight,
textShadow: textShadow,
textOverflow: textOverflow,
whiteSpace: whiteSpace,
quotes: quotes,
backgroundColor: backgroundColor,
backgroundAttachment: backgroundAttachment,
backgroundClip: backgroundClip,
backgroundImage: backgroundImage,
backgroundOrigin: backgroundOrigin,
backgroundPosition: backgroundPosition,
backgroundRepeat: backgroundRepeat,
backgroundSize: backgroundSize,
flexDirection: flexDirection,
flexWrap: flexWrap,
justifyContent: justifyContent,
alignItems: alignItems,
alignContent: alignContent,
justifyItems: justifyItems,
gap: gap,
flex: flex,
order: order,
alignSelf: alignSelf,
justifySelf: justifySelf,
gridTemplate: gridTemplate,
autoRows: autoRows,
autoColumns: autoColumns,
gridPlacement: gridPlacement,
listStyle: listStyle,
listImage: listImage,
listPosition: listPosition,
content: content,
raw: raw,
),
);