css library
Classes
- Animation
- AnimationEffect
- AnimationPlaybackEvent
- AnimationTimeline
- AttributeSelector
- CalcExpressionNode
- CalcInvertNode
- CalcLengthNode
- CalcNegateNode
- CalcNumberNode
- CalcOperationExpressionNode
- CalcVariableNode
- ClassSelector
- ComputedCSSStyleDeclaration
- CSSAngle
- CSSBackground
- CSSBackgroundImage
- CSSBackgroundPosition
- CSSBackgroundSize
- CSSBorderRadius
- CSSBorderSide
- CSSBoxDecoration
- CSSBoxShadow
- CSSCalcValue
- CSSColor
- #123 #123456 rgb(r,g,b) rgba(r,g,b,a)
- CSSColorStop
- CSSConicGradient
- CSSFlex
- CSSFontFace
- CSSFontFaceRule
- CSSFunction
- CSSFunctionalNotation
- https://drafts.csswg.org/css-values-3/#functional-notations
- CSSInteger
- CSSKeyframesRule
- CSSLength
- CSSLengthValue
- CSSLinearGradient
- CSSMatrix
- CSSNumber
- CSSOrigin
- CSSPaint
- CSSParser
- CSSPath
- CSSPercentage
- CSSPosition
- CSS Values and Units: https://drafts.csswg.org/css-values-3/#position The
- CSSPositionedLayout
- CSSPropertyValue
- CSSPseudo
- CSSRadialGradient
- CSSRenderStyle
- CSSRule
- 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
- CSSStyleSheet
- CSSText
- CSSTextual
- CSSTime
- CSSValue
- CSSVariable
- EffectTiming
- ElementRuleCollector
- ElementSelector
- ErrorToken
- A token containing error information.
- FunctionContentValue
- Identifier
- IdentifierToken
- CSS ident-token.
- IdSelector
- Keyframe
- KeyFrameBlock
- KeyframeEffect
- KeywordContentValue
- LabColor
- A color in the CIELAB color space.
- LiteralToken
- A token containing a parsed literal value.
- Negation
- NegationSelector
- NthIndexCache
- ParserState
- Used for parser lookup ahead (used for nested selectors Less support).
- PseudoClassFunctionSelector
- PseudoClassSelector
- PseudoElementFunctionSelector
- PseudoElementSelector
- QuoteStringContentValue
- RenderStyle
- The abstract class for render-style, declare the getter interface for all available CSS rule.
- RgbColor
- RuleSet
- Selector
- SelectorGroup
- SelectorTextVisitor
- SelectorVisitor
- SimpleSelector
- SimpleSelectorSequence
- StyleSheet
- ThisOperator
- Token
- A single token in the Dart language.
- TokenChar
- Tokenizer
- TokenizerBase
- The base class for our tokenizer. The hand coded parts are in this file, with the generated parts in the subclass Tokenizer.
- TokenizerHelpers
- Static helper methods.
- TokenizerState
- Tokenizer state to support look ahead for Less' nested selectors.
- TokenKind
- TransformAnimationValue
- TreeNode
- The base type for all nodes in a CSS abstract syntax tree.
- Visitor
- WebFBoxShadow
- Wildcard
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
- AnimationEffectPhase
- AnimationPlayState
- AnimationReplaceState
- ClauseType
- ContentVisibility
- CSSBackgroundAttachmentType
- CSSBackgroundBoundary
- CSSBackgroundImageType
- CSSBackgroundPositionType
- CSSBackgroundRepeatType
- CSSBackgroundSizeType
- CSSBorderStyleType
- CSSDisplay
- CSSLengthType
- CSSOverflowType
- CSSPaintType
- CSSPositionType
- CSSPropertyID
- CSSTransitionEvent
- The types of TransitionEvent
- CSSWideKeywords
- All of these keywords are normatively defined in the Cascade module.
- FillMode
- 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.
- PlaybackDirection
- VerticalAlign
- Sets vertical alignment of an inline, inline-block
- Visibility
Mixins
- BorderGradientMixin
- CSSBackgroundMixin
- The CSSBackgroundMixin mixin used to handle background shorthand and compute to single value of background.
- CSSBorderMixin
- CSSBorderRadiusMixin
- CSSBoxMixin
- CSSBoxShadowMixin
- CSSContentVisibilityMixin
- CSSDisplayMixin
- CSSFilterEffectsMixin
- Impl W3C Filter Effects Spec: https://www.w3.org/TR/filter-effects-1/#definitions
- CSSFlexboxMixin
- CSSInlineMixin
- CSSInputMixin
- CSSMarginMixin
- CSSObjectFitMixin
- CSSObjectPositionMixin
- CSSOpacityMixin
- CSSOverflowMixin
- CSSPaddingMixin
- CSSPositionMixin
- CSSSizingMixin
-
- width
- height
- max-width
- max-height
- min-width
- min-height
- CSSSliverMixin
- CSSTextMixin
- CSSTransformMixin
- CSSTransitionMixin
- CSSVariableMixin
- CSSVisibilityMixin
- ElementOverflowMixin
Extensions
- CSSBackgroundAttachmentTypeText on CSSBackgroundAttachmentType
- CSSBackgroundBoundaryText on CSSBackgroundBoundary
- CSSBackgroundRepeatTypeText on CSSBackgroundRepeatType
- CSSBorderStyleTypeText on CSSBorderStyleType
- CSSDisplayText on CSSDisplay
- CSSEdgeInsetsText on EdgeInsets
- CSSFontWeightText on FontWeight
- CSSOverflowTypeText on CSSOverflowType
- CSSPositionTypeText on CSSPositionType
- CSSShadowText on Shadow
- DoubleText on double
- FontStyleText on FontStyle
- Matrix4CSSText on Matrix4
- TextAlignText on TextAlign
- TextOverflowText on TextOverflow
- VerticalAlignText on VerticalAlign
- VisibilityText on Visibility
- WhiteSpaceText on WhiteSpace
Constants
- ABSOLUTE → const String
- ALIGN_CONTENT → const String
- ALIGN_ITEMS → const String
- ALIGN_SELF → const String
- ALL → const String
- ALTERNATE → const String
- ALTERNATE_REVERSE → const String
- ANIMATION → const String
- ANIMATION_DELAY → const String
- ANIMATION_DIRECTION → const String
- ANIMATION_DURATION → const String
- ANIMATION_FILL_MODE → const String
- ANIMATION_ITERATION_COUNT → const String
- ANIMATION_NAME → const String
- ANIMATION_PLAY_STATE → const String
- ANIMATION_TIMING_FUNCTION → const String
- AUTO → const String
- BACKGROUND → const String
- BACKGROUND_ATTACHMENT → const String
- BACKGROUND_CLIP → const String
- BACKGROUND_COLOR → const String
- BACKGROUND_IMAGE → const String
- BACKGROUND_ORIGIN → const String
- BACKGROUND_POSITION → const String
- BACKGROUND_POSITION_X → const String
- BACKGROUND_POSITION_Y → const String
- BACKGROUND_REPEAT → const String
- BACKGROUND_SIZE → const String
- BACKWARDS → const String
- BLOCK → const String
- BLUR → const String
- BOLD → const String
- BOLDER → const String
- BORDER → const String
- BORDER_BOTTOM → const String
- BORDER_BOTTOM_COLOR → const String
- BORDER_BOTTOM_LEFT_RADIUS → const String
- BORDER_BOTTOM_RIGHT_RADIUS → const String
- BORDER_BOTTOM_STYLE → const String
- BORDER_BOTTOM_WIDTH → const String
- BORDER_COLOR → const String
- BORDER_LEFT → const String
- BORDER_LEFT_COLOR → const String
- BORDER_LEFT_STYLE → const String
- BORDER_LEFT_WIDTH → const String
- BORDER_RADIUS → const String
- BORDER_RIGHT → const String
- BORDER_RIGHT_COLOR → const String
- BORDER_RIGHT_STYLE → const String
- BORDER_RIGHT_WIDTH → const String
- BORDER_STYLE → const String
- BORDER_TOP → const String
- BORDER_TOP_COLOR → const String
- BORDER_TOP_LEFT_RADIUS → const String
- BORDER_TOP_RIGHT_RADIUS → const String
- BORDER_TOP_STYLE → const String
- BORDER_TOP_WIDTH → const String
- BORDER_WIDTH → const String
- BOTH → const String
- BOTTOM → const String
- BOX_SHADOW → const String
- CALC → const String
- CARETCOLOR → const String
- CENTER → const String
- CH → const String
- CLIP → const String
- CM → const String
- COLOR → const String
- COLUMN → const String
- COLUMN_REVERSE → const String
-
ComputedProperties
→ const List<
CSSPropertyID> - CONTAIN → const String
- CONTENT → const String
- CONTENT_VISIBILITY → const String
- CONTEXT_FILL → const String
- CONTEXT_STROKE → const String
- COVER → const String
-
CSSPropertyNameMap
→ const Map<
String, CSSPropertyID> - CURRENT_COLOR → const String
- CX → const String
- CY → const String
- D → const String
- DISPLAY → const String
- DOTTED → const String
- EASE → const String
- EASE_IN → const String
- EASE_IN_OUT → const String
- EASE_OUT → const String
- EM → const String
- EMPTY_STRING → const String
- ENV → const String
- FILL → const String
- FILL_RULE → const String
- FILTER → const String
- FIT_HEIGTH → const String
- FIT_WIDTH → const String
- FIXED → const String
- FLEX → const String
- FLEX_BASIS → const String
- FLEX_DIRECTION → const String
- FLEX_FLOW → const String
- FLEX_GROW → const String
- FLEX_SHRINK → const String
- FLEX_WRAP → const String
- FONT → const String
- FONT_FAMILY → const String
- FONT_SIZE → const String
- FONT_STYLE → const String
- FONT_WEIGHT → const String
- FORWARDS → const String
- FUNCTION_ARGS_SPLIT → const String
- FUNCTION_SPLIT → const String
- GRAYSCALE → const String
- HEIGHT → const String
- HIDDEN → const String
- IN → const String
- INHERIT → const String
- INITIAL → const String
- INLINE → const String
- INLINE_BLOCK → const String
- INLINE_FLEX → const String
- INSET → const String
- ITALIC → const String
- JUSTIFY_CONTENT → const String
- kClassLikeSpecificity → const int
- kIdSpecificity → const int
- kTagSpecificity → const int
- LARGE → const String
- LARGER → const String
- LEFT → const String
- LETTER_SPACING → const String
- LIGHTER → const String
- LINE_CLAMP → const String
- LINE_HEIGHT → const String
- LINE_THROUGH → const String
- LINEAR → const String
- LOCAL → const String
- MARGIN → const String
- MARGIN_BOTTOM → const String
- MARGIN_LEFT → const String
- MARGIN_RIGHT → const String
- MARGIN_TOP → const String
- MATRIX → const String
- MATRIX_3D → const String
- MAX_HEIGHT → const String
- MAX_WIDTH → const String
- MEDIUM → const String
- MIN_HEIGHT → const String
- MIN_WIDTH → const String
- MM → const String
- NO_REPEAT → const String
- NO_WRAP → const String
- NONE → const String
- NORMAL → const String
- OBJECT_FIT → const String
- OBJECT_POSITION → const String
- OPACITY → const String
- OVERFLOW → const String
- OVERFLOW_X → const String
- OVERFLOW_Y → const String
- PADDING → const String
- PADDING_BOTTOM → const String
- PADDING_LEFT → const String
- PADDING_RIGHT → const String
- PADDING_TOP → const String
- PAUSED → const String
- PC → const String
- PERCENTAGE → const String
- PERSPECTIVE → const String
- POSITION → const String
- PRE → const String
- PT → const String
- PX → const String
- Q → const String
- R → const String
- RELATIVE → const String
- REM → const String
- REPEAT → const String
- REPEAT_X → const String
- REPEAT_Y → const String
- REVERSE → const String
- RIGHT → const String
- ROTATE → const String
- ROTATE_3D → const String
- ROTATE_X → const String
- ROTATE_Y → const String
- ROTATE_Z → const String
- ROW → const String
- ROW_REVERSE → const String
- RPX → const String
- RUNNING → const String
- RX → const String
- RY → const String
- SAFE_AREA_INSET → const String
- SAFE_AREA_INSET_BOTTOM → const String
- SAFE_AREA_INSET_LEFT → const String
- SAFE_AREA_INSET_RIGHT → const String
- SAFE_AREA_INSET_TOP → const String
- SCALE → const String
- SCALE_3D → const String
- SCALE_DOWN → const String
- SCALE_X → const String
- SCALE_Y → const String
- SCALE_Z → const String
- SCROLL → const String
- SEPIA → const String
- SKEW → const String
- SKEW_X → const String
- SKEW_Y → const String
- SLIVER_DIRECTION → const String
- SMALL → const String
- SMALLER → const String
- SOLID → const String
- STATIC → const String
- STEP_END → const String
- STEP_START → const String
- STICKY → const String
- STRETCH → const String
- STROKE → const String
- STROKE_LINECAP → const String
- STROKE_LINEJOIN → const String
- STROKE_WIDTH → const String
- TEXT_ALIGN → const String
- TEXT_DECORATION → const String
- TEXT_DECORATION_COLOR → const String
- TEXT_DECORATION_LINE → const String
- TEXT_DECORATION_STYLE → const String
- TEXT_OVERFLOW → const String
- TEXT_SHADOW → const String
- THICK → const String
- THIN → const String
- TOP → const String
- TRANSFORM → const String
- TRANSFORM_ORIGIN → const String
- TRANSITION → const String
- TRANSITION_DELAY → const String
- TRANSITION_DURATION → const String
- TRANSITION_PROPERTY → const String
- TRANSITION_TIMING_FUNCTION → const String
- TRANSLATE → const String
- TRANSLATE_3D → const String
- TRANSLATE_X → const String
- TRANSLATE_Y → const String
- TRANSLATE_Z → const String
- TRANSPARENT → const String
- UNDERLINE → const String
- VAR → const String
- VERTICAL_ALIGN → const String
- VH → const String
- VISIBILITY → const String
- VISIBLE → const String
- VMAX → const String
- VMIN → const String
- VW → const String
- WHITE_SPACE → const String
- WIDTH → const String
- WORD_SPACING → const String
- WRAP → const String
- WRAP_REVERSE → const String
- X → const String
- X1 → const String
- X2 → const String
- X_LARGE → const String
- X_SMALL → const String
- XX_LARGE → const String
- XX_SMALL → const String
- Y → const String
- Y1 → const String
- Y2 → const String
- Z_INDEX → const String
- ZERO → const String
Properties
- CSSInitialValues ↔ Map
-
getter/setter pair
-
CSSTransitionHandlers
↔ Map<
String, List< Function> > -
getter/setter pair
- isChecked → bool
-
no setter
- kebabCaseReg ↔ RegExp
-
getter/setter pair
- kShowCSSParseError ↔ bool
-
getter/setter pair
-
getter/setter pair
-
selectorKeySet
→ Set<
String> -
final
- splitRegExp → RegExp
-
final
-
supportedFonts
→ List<
String> -
final
Functions
-
cacheComputedValue(
int hashCode, String propertyName, double value) → void -
camelize(
String str) → String -
clearComputedValueCache(
) → void -
clearCssLength(
) → void -
getCachedComputedValue(
int hashCode, String propertyName) → double? -
isInheritedPropertyID(
CSSPropertyID id) → bool -
isInheritedPropertyString(
String property) → bool -
kebabize(
String str) → String -
mergeNestedSelector(
List< SimpleSelectorSequence> parent, List<SimpleSelectorSequence> current) → List<SimpleSelectorSequence> -
Merge the nested selector sequences
current
to theparent
sequences or substitue any & with the parent selector. -
removeQuotationMark(
String input) → String
Typedefs
-
CSSMap
= HashMap<
String, List< CSSRule> > -
RenderStyleVisitor<
T extends RenderStyle> = void Function(T renderStyle) - StyleChangeListener = void Function(String property, String? original, String present, {String? baseHref})
-
StyleFlushedListener
= void Function(List<
String> properties) - TextPainterCallback = Paint? Function(Rect bounds)