css library

Classes

CSSAngle
CSSBackground
CSSBorderRadius
CSSBorderSide
CSSBorderStyle
CSSBoxDecoration
CSSColor
#123 #123456 rgb(r,g,b) rgba(r,g,b,a)
CSSColorStop
CSSEdgeInsets
CSSFlex
CSSFunction
CSSFunctionalNotation
https://drafts.csswg.org/css-values-3/#functional-notations
CSSInlineLayout
CSSInteger
CSSLength
CSSNumber
CSSOrigin
CSSPercentage
CSSPosition
CSS Values and Units: https://drafts.csswg.org/css-values-3/#position The value specifies the position of a object area (e.g. background image) inside a positioning area (e.g. background positioning area). It is interpreted as specified for background-position. CSS3-BACKGROUND
CSSPositionedLayout
CSSSizing
CSSStepCurve
CSSStyleDeclaration
The CSSStyleDeclaration interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties. [...]
CSSStyleProperty
CSSStyleRule
https://drafts.csswg.org/cssom/#the-cssstylerule-interface
CSSText
CSSTextual
CSSTime
CSSTransform
CSSTransition
CSSUrl
LabColor
A color in the CIELAB color space. [...]
RenderStyle
RgbColor

Mixins

CSSBoxMixin
  • background
  • border
  • CSSContentVisibilityMixin
    CSSFilterEffectsMixin
    Impl W3C Filter Effects Spec: https://www.w3.org/TR/filter-effects-1/#definitions
    CSSFlexboxMixin
    CSSFlowMixin
    CSSMarginMixin
    CSSOpacityMixin
    CSSOverflowMixin
    CSSPaddingMixin
    CSSPositionMixin
    CSSSizingMixin
  • width
  • height
  • max-width
  • max-height
  • min-width
  • min-height
  • CSSTextMixin
    CSSTransformMixin
    CSSTransitionMixin
    CSSVisibilityMixin
    RenderStyleBase

    Constants

    ABSOLUTE → const String
    'absolute'
    ALIGN_CONTENT → const String
    'alignContent'
    ALIGN_ITEMS → const String
    'alignItems'
    ALIGN_SELF → const String
    'alignSelf'
    ALL → const String
    'all'
    AUTO → const String
    'auto'
    BACKGROUND → const String
    'background'
    BACKGROUND_ATTACHMENT → const String
    'backgroundAttachment'
    BACKGROUND_CLIP → const String
    'backgroundClip'
    BACKGROUND_COLOR → const String
    'backgroundColor'
    BACKGROUND_IMAGE → const String
    'backgroundImage'
    BACKGROUND_ORIGIN → const String
    'backgroundOrigin'
    BACKGROUND_POSITION → const String
    'backgroundPosition'
    BACKGROUND_REPEAT → const String
    'backgroundRepeat'
    BACKGROUND_SIZE → const String
    'backgroundSize'
    BLOCK → const String
    'block'
    BLUR → const String
    'blur'
    BOLD → const String
    'bold'
    BOLDER → const String
    'bolder'
    BORDER → const String
    'border'
    BORDER_BOTTOM → const String
    'borderBottom'
    BORDER_BOTTOM_COLOR → const String
    'borderBottomColor'
    BORDER_BOTTOM_LEFT_RADIUS → const String
    'borderBottomLeftRadius'
    BORDER_BOTTOM_RIGHT_RADIUS → const String
    'borderBottomRightRadius'
    BORDER_BOTTOM_STYLE → const String
    'borderBottomStyle'
    BORDER_BOTTOM_WIDTH → const String
    'borderBottomWidth'
    BORDER_COLOR → const String
    'borderColor'
    BORDER_LEFT → const String
    'borderLeft'
    BORDER_LEFT_COLOR → const String
    'borderLeftColor'
    BORDER_LEFT_STYLE → const String
    'borderLeftStyle'
    BORDER_LEFT_WIDTH → const String
    'borderLeftWidth'
    BORDER_RADIUS → const String
    'borderRadius'
    BORDER_RIGHT → const String
    'borderRight'
    BORDER_RIGHT_COLOR → const String
    'borderRightColor'
    BORDER_RIGHT_STYLE → const String
    'borderRightStyle'
    BORDER_RIGHT_WIDTH → const String
    'borderRightWidth'
    BORDER_STYLE → const String
    'borderStyle'
    BORDER_TOP → const String
    'borderTop'
    BORDER_TOP_COLOR → const String
    'borderTopColor'
    BORDER_TOP_LEFT_RADIUS → const String
    'borderTopLeftRadius'
    BORDER_TOP_RIGHT_RADIUS → const String
    'borderTopRightRadius'
    BORDER_TOP_STYLE → const String
    'borderTopStyle'
    BORDER_TOP_WIDTH → const String
    'borderTopWidth'
    BORDER_WIDTH → const String
    'borderWidth'
    BOTTOM → const String
    'bottom'
    BOX_SHADOW → const String
    'boxShadow'
    COLOR → const String
    'color'
    COLUMN → const String
    'column'
    COLUMN_REVERSE → const String
    'column-reverse'
    CONTAIN → const String
    'contain'
    CONTENT_VISIBILITY → const String
    'contentVisibility'
    COVER → const String
    'cover'
    CSSShorthandProperty → const Map<String, bool>
    {MARGIN : true, PADDING : true, BACKGROUND : true, BORDER_RADIUS : true, BORDER : true, BORDER_COLOR : true, BORDER_WIDTH : true, BORDER_STYLE : true, BORDER_LEFT : true, BORDER_RIGHT : true, BORDER_T…
    CURRENT_COLOR → const String
    'currentcolor'
    DEFAULT_LETTER_SPACING → const double
    0.0
    DEFAULT_WORD_SPACING → const double
    0.0
    DISPLAY → const String
    'display'
    EASE → const String
    'ease'
    EASE_IN → const String
    'ease-in'
    EASE_IN_OUT → const String
    'ease-in-out'
    EASE_OUT → const String
    'ease-out'
    EMPTY_STRING → const String
    ''
    FILL → const String
    'fill'
    FILTER → const String
    'filter'
    FIT_HEIGTH → const String
    'fit-height'
    FIT_WIDTH → const String
    'fit-width'
    FIXED → const String
    'fixed'
    FLEX → const String
    'flex'
    FLEX_BASIS → const String
    'flexBasis'
    FLEX_DIRECTION → const String
    'flexDirection'
    FLEX_FLOW → const String
    'flexFlow'
    FLEX_GROW → const String
    'flexGrow'
    FLEX_SHRINK → const String
    'flexShrink'
    FLEX_WRAP → const String
    'flexWrap'
    FONT → const String
    'font'
    FONT_FAMILY → const String
    'fontFamily'
    FONT_SIZE → const String
    'fontSize'
    FONT_STYLE → const String
    'fontStyle'
    FONT_WEIGHT → const String
    'fontWeight'
    GRAYSCALE → const String
    'grayscale'
    HEIGHT → const String
    'height'
    HIDDEN → const String
    'hidden'
    INITIAL → const String
    'initial'
    INLINE → const String
    'inline'
    INLINE_BLOCK → const String
    'inline-block'
    INLINE_FLEX → const String
    'inline-flex'
    INSET → const String
    'inset'
    JUSTIFY_CONTENT → const String
    'justifyContent'
    LARGE → const String
    'large'
    LARGER → const String
    'larger'
    LEFT → const String
    'left'
    LETTER_SPACING → const String
    'letterSpacing'
    LIGHTER → const String
    'lighter'
    LINE_CLAMP → const String
    'lineClamp'
    LINE_HEIGHT → const String
    'lineHeight'
    LINEAR → const String
    'linear'
    LOCAL → const String
    'local'
    MARGIN → const String
    'margin'
    MARGIN_BOTTOM → const String
    'marginBottom'
    MARGIN_LEFT → const String
    'marginLeft'
    MARGIN_RIGHT → const String
    'marginRight'
    MARGIN_TOP → const String
    'marginTop'
    MAX_HEIGHT → const String
    'maxHeight'
    MAX_WIDTH → const String
    'maxWidth'
    MEDIUM → const String
    'medium'
    MIN_HEIGHT → const String
    'minHeight'
    MIN_WIDTH → const String
    'minWidth'
    NO_REPEAT → const String
    'no-repeat'
    NO_WRAP → const String
    'nowrap'
    NONE → const String
    'none'
    NORMAL → const String
    'normal'
    OBJECT_FIT → const String
    'objectFit'
    OBJECT_POSITION → const String
    'objectPosition'
    OPACITY → const String
    'opacity'
    OVERFLOW → const String
    'overflow'
    OVERFLOW_X → const String
    'overflowX'
    OVERFLOW_Y → const String
    'overflowY'
    PADDING → const String
    'padding'
    PADDING_BOTTOM → const String
    'paddingBottom'
    PADDING_LEFT → const String
    'paddingLeft'
    PADDING_RIGHT → const String
    'paddingRight'
    PADDING_TOP → const String
    'paddingTop'
    POSITION → const String
    'position'
    PRE → const String
    'pre'
    RELATIVE → const String
    'relative'
    REPEAT → const String
    'repeat'
    REPEAT_X → const String
    'repeat-x'
    REPEAT_Y → const String
    'repeat-y'
    'right'
    ROW → const String
    'row'
    ROW_REVERSE → const String
    'row-reverse'
    SAFE_AREA_INSET → const String
    'safe-area-inset'
    SAFE_AREA_INSET_BOTTOM → const String
    $SAFE_AREA_INSET-bottom
    SAFE_AREA_INSET_LEFT → const String
    $SAFE_AREA_INSET-left
    SAFE_AREA_INSET_RIGHT → const String
    $SAFE_AREA_INSET-right
    SAFE_AREA_INSET_TOP → const String
    $SAFE_AREA_INSET-top
    SCALE_DOWN → const String
    'scale-down'
    SCROLL → const String
    'scroll'
    SEPIA → const String
    'sepia'
    SLIVER_DIRECTION → const String
    'sliverDirection'
    SMALL → const String
    'small'
    SMALLER → const String
    'smaller'
    SOLID → const String
    'solid'
    STATIC → const String
    'static'
    STEP_END → const String
    'step-end'
    STEP_START → const String
    'step-start'
    STICKY → const String
    'sticky'
    STRETCH → const String
    'stretch'
    TEXT_ALIGN → const String
    'textAlign'
    TEXT_DECORATION → const String
    'textDecoration'
    TEXT_DECORATION_COLOR → const String
    'textDecorationColor'
    TEXT_DECORATION_LINE → const String
    'textDecorationLine'
    TEXT_DECORATION_STYLE → const String
    'textDecorationStyle'
    TEXT_OVERFLOW → const String
    'textOverflow'
    TEXT_SHADOW → const String
    'textShadow'
    THICK → const String
    'thick'
    THIN → const String
    'thin'
    TOP → const String
    'top'
    TRANSFORM → const String
    'transform'
    TRANSFORM_ORIGIN → const String
    'transformOrigin'
    TRANSITION → const String
    'transition'
    TRANSITION_DELAY → const String
    'transitionDelay'
    TRANSITION_DURATION → const String
    'transitionDuration'
    TRANSITION_PROPERTY → const String
    'transitionProperty'
    TRANSITION_TIMING_FUNCTION → const String
    'transitionTimingFunction'
    TRANSPARENT → const String
    'transparent'
    VERTICAL_ALIGN → const String
    'verticalAlign'
    VISIBILITY → const String
    'visibility'
    VISIBLE → const String
    'visible'
    WHITE_SPACE → const String
    'whiteSpace'
    WIDTH → const String
    'width'
    WORD_SPACING → const String
    'wordSpacing'
    WRAP → const String
    'wrap'
    WRAP_REVERSE → const String
    'wrap-reverse'
    X_LARGE → const String
    'x-large'
    X_SMALL → const String
    'x-small'
    XX_LARGE → const String
    'xx-large'
    XX_SMALL → const String
    'xx-small'
    Z_INDEX → const String
    'zIndex'
    ZERO → const String
    '0'

    Properties

    CSSInitialValues ↔ Map
    read / write
    CSSTransformHandlers ↔ Map<String, List<Function>>
    read / write

    Functions

    camelize(String str) → String
    getOverflowTypes(CSSStyleDeclaration style) → List<CSSOverflowType>
    kebabize(String str) → String
    multVecMatrix(dynamic v, dynamic m) → List<double>

    Enums

    AlignContent
    Sets the distribution of space between and around content items along a flexbox's cross-axis.
    AlignItems
    Set the space distributed between and around content items along the cross-axis of their container.
    AlignSelf
    Overrides a flex item's align-items value
    ContentVisibility
    CSSDisplay
    CSSOverflowType
    CSSPositionType
    CSSTransitionEvent
    The types of TransitionEvent
    CSSWideKeywords
    All of these keywords are normatively defined in the Cascade module.
    FlexDirection
    sets how flex items are placed in the flex container defining the main axis and the direction (normal or reversed).
    FlexWrap
    sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.
    JustifyContent
    Defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container.
    VerticalAlign
    Sets vertical alignment of an inline, inline-block
    Visibility

    Typedefs

    ScrollListener(double scrollTop, AxisDirection axisDirection) → void
    StyleChangeListener(String property, String original, String present, bool inAnimation) → void