Styles constructor
const
Styles({
- String display = 'display',
- String flexDirection = 'col',
- dynamic backgroundColor,
- String? backgroundImage,
- dynamic width,
- dynamic height,
- dynamic color,
- String? justifyContent,
- String? alignItems,
- dynamic borderRadius,
- dynamic marginLeft,
- dynamic marginTop,
- dynamic marginRight,
- dynamic marginBottom,
- dynamic paddingLeft,
- dynamic paddingTop,
- dynamic paddingRight,
- dynamic paddingBottom,
- dynamic left,
- dynamic top,
- dynamic right,
- dynamic bottom,
- String position = 'rel',
- dynamic maxHeight,
- dynamic maxWidth,
- dynamic fontSize,
- String? textOverflow,
- dynamic fontWeight,
- String? fontFamily,
- String? whiteSpace,
- dynamic lineHeight,
- String? textDecoration,
- int? lines,
- String? boxSizing,
- dynamic borderColor,
- String borderStyle = 'solid',
- dynamic borderWidth = 1,
- double opacity = 1.0,
- dynamic boxShadow,
- String? textAlign,
- dynamic minHeight,
- dynamic minWidth,
- double? letterSpacing,
- double? borderBottomLeftRadius,
- double? borderBottomRightRadius,
- dynamic borderBottomColor,
- String borderBottomStyle = 'solid',
- dynamic borderBottomWidth,
- dynamic borderLeftColor,
- String borderLeftStyle = 'solid',
- dynamic borderLeftWidth,
- dynamic borderRightColor,
- String borderRightStyle = 'solid',
- dynamic borderRightWidth,
- dynamic borderTopColor,
- String borderTopStyle = 'solid',
- dynamic borderTopWidth,
- dynamic borderTopRightRadius,
- dynamic borderTopLeftRadius,
- int? flex,
- String? overflowX,
- String? overflowY,
- dynamic transform,
- String? flexWrap,
- dynamic flexWrapSpacing,
- dynamic flexWrapRunSpacing,
- dynamic backgroundSize,
- dynamic margin,
- dynamic padding,
- dynamic elevation,
- int zIndex = 1,
- int? gridCount,
- double? gridChildAspectRatio,
- double? gridCrossAxisSpacing,
- double? gridMainAxisSpacing,
- bool scrollBar = true,
Implementation
const Styles(
{this.display = 'display',
this.flexDirection = 'col',
this.backgroundColor,
this.backgroundImage,
this.width,
this.height,
this.color,
this.justifyContent,
this.alignItems,
this.borderRadius,
this.marginLeft,
this.marginTop,
this.marginRight,
this.marginBottom,
this.paddingLeft,
this.paddingTop,
this.paddingRight,
this.paddingBottom,
this.left,
this.top,
this.right,
this.bottom,
this.position = 'rel',
this.maxHeight,
this.maxWidth,
this.fontSize,
this.textOverflow,
this.fontWeight,
this.fontFamily,
this.whiteSpace,
this.lineHeight,
this.textDecoration,
this.lines,
this.boxSizing,
this.borderColor,
this.borderStyle = 'solid',
this.borderWidth = 1,
this.opacity = 1.0,
this.boxShadow,
this.textAlign,
this.minHeight,
this.minWidth,
this.letterSpacing,
this.borderBottomLeftRadius,
this.borderBottomRightRadius,
this.borderBottomColor,
this.borderBottomStyle = 'solid',
this.borderBottomWidth,
this.borderLeftColor,
this.borderLeftStyle = 'solid',
this.borderLeftWidth,
this.borderRightColor,
this.borderRightStyle = 'solid',
this.borderRightWidth,
this.borderTopColor,
this.borderTopStyle = 'solid',
this.borderTopWidth,
this.borderTopRightRadius,
this.borderTopLeftRadius,
this.flex,
this.overflowX,
this.overflowY,
this.transform,
this.flexWrap,
this.flexWrapSpacing,
this.flexWrapRunSpacing,
this.backgroundSize,
this.margin,
this.padding,
this.elevation,
this.zIndex = 1,
this.gridCount,
this.gridChildAspectRatio,
this.gridCrossAxisSpacing,
this.gridMainAxisSpacing,
this.scrollBar = true});