CSSBackgroundMixin mixin

The CSSBackgroundMixin mixin used to handle background shorthand and compute to single value of background.

Superclass constraints
Mixin applications

Properties

alignContent AlignContent
no setterinherited
alignItems AlignItems
no setterinherited
alignSelf AlignSelf
no setterinherited
animationDelay List<String>
no setterinherited
animationDirection List<String>
no setterinherited
animationDuration List<String>
no setterinherited
animationFillMode List<String>
no setterinherited
animationIterationCount List<String>
no setterinherited
animationName List<String>
no setterinherited
animationPlayState List<String>
no setterinherited
animationTimingFunction List<String>
no setterinherited
aspectRatio double?
no setterinherited
attachedRenderBoxModel RenderBoxModel?
no setterinherited
attachedRenderObjectElement RenderObjectElement?
no setterinherited
backgroundAttachment CSSBackgroundAttachmentType?
Background-attachment
getter/setter pairoverride-getter
backgroundClip CSSBackgroundBoundary?
Background-clip
getter/setter pairoverride-getter
backgroundColor CSSColor?
getter/setter pairoverride-getter
backgroundImage CSSBackgroundImage?
Background-image
getter/setter pairoverride-getter
backgroundOrigin CSSBackgroundBoundary?
Background-origin
getter/setter pairoverride-getter
backgroundPositionX CSSBackgroundPosition
Background-position-x
getter/setter pairoverride-getter
backgroundPositionY CSSBackgroundPosition
Background-position-y
getter/setter pairoverride-getter
backgroundRepeat CSSBackgroundRepeatType
Background-repeat
getter/setter pairoverride-getter
backgroundSize CSSBackgroundSize
Background-size
getter/setter pairoverride-getter
border EdgeInsets
no setterinherited
borderBottomColor CSSColor
no setterinherited
borderBottomLeftRadius CSSBorderRadius
no setterinherited
borderBottomRightRadius CSSBorderRadius
no setterinherited
borderBottomStyle CSSBorderStyleType
no setterinherited
borderBottomWidth CSSLengthValue?
no setterinherited
borderBoxHeight double?
no setterinherited
borderBoxLogicalHeight double?
no setterinherited
borderBoxLogicalWidth double?
no setterinherited
borderBoxWidth double?
no setterinherited
borderLeftColor CSSColor
no setterinherited
borderLeftStyle CSSBorderStyleType
no setterinherited
borderLeftWidth CSSLengthValue?
no setterinherited
borderRadius List<Radius>?
no setterinherited
borderRightColor CSSColor
no setterinherited
borderRightStyle CSSBorderStyleType
no setterinherited
borderRightWidth CSSLengthValue?
no setterinherited
borderSides List<BorderSide>?
no setterinherited
borderTopColor CSSColor
no setterinherited
borderTopLeftRadius CSSBorderRadius
no setterinherited
borderTopRightRadius CSSBorderRadius
no setterinherited
borderTopStyle CSSBorderStyleType
no setterinherited
borderTopWidth CSSLengthValue?
no setterinherited
bottom CSSLengthValue
no setterinherited
caretColor Color?
no setterinherited
color CSSColor
no setterinherited
colorFilter ColorFilter?
no setterinherited
columnGap CSSLengthValue
no setterinherited
contentBoxHeight double?
no setterinherited
contentBoxLogicalHeight double?
no setterinherited
contentBoxLogicalWidth double?
no setterinherited
contentBoxWidth double?
no setterinherited
contentMaxConstraintsWidth double
no setterinherited
contentVisibility ContentVisibility
no setterinherited
currentColor CSSColor
no setterinherited
currentFlutterView FlutterView
no setterinherited
direction TextDirection
no setterinherited
display CSSDisplay
no setterinherited
effectiveBorderBottomWidth CSSLengthValue
no setterinherited
effectiveBorderLeftWidth CSSLengthValue
no setterinherited
effectiveBorderRightWidth CSSLengthValue
no setterinherited
effectiveBorderTopWidth CSSLengthValue
no setterinherited
effectiveDisplay CSSDisplay
no setterinherited
effectiveOverflowX CSSOverflowType
no setterinherited
effectiveOverflowY CSSOverflowType
no setterinherited
effectiveTransformMatrix Matrix4?
no setterinherited
effectiveTransformScale double
no setterinherited
establishesStackingContext bool
no setterinherited
filter List<CSSFunctionalNotation>?
no setterinherited
filterDropShadows List<CSSBoxShadow>?
no setterinherited
flexBasis CSSLengthValue?
no setterinherited
flexDirection FlexDirection
no setterinherited
flexGrow double
no setterinherited
flexShrink double
no setterinherited
flexWrap FlexWrap
no setterinherited
fontFamily List<String>?
no setterinherited
fontSize CSSLengthValue
no setterinherited
fontStyle FontStyle
no setterinherited
fontWeight FontWeight
no setterinherited
gap CSSLengthValue
no setterinherited
gridAreaName String?
no setterinherited
gridAutoColumns List<GridTrackSize>
no setterinherited
gridAutoFlow GridAutoFlow
no setterinherited
gridAutoRows List<GridTrackSize>
no setterinherited
gridColumnEnd GridPlacement
no setterinherited
gridColumnStart GridPlacement
no setterinherited
gridRowEnd GridPlacement
no setterinherited
gridRowStart GridPlacement
no setterinherited
gridTemplateAreasDefinition GridTemplateAreasDefinition?
no setterinherited
gridTemplateColumns List<GridTrackSize>
no setterinherited
gridTemplateRows List<GridTrackSize>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height CSSLengthValue
no setterinherited
imageFilter ImageFilter?
no setterinherited
intrinsicHeight double
no setterinherited
intrinsicWidth double
no setterinherited
isHeightStretch bool
no setterinherited
justifyContent JustifyContent
no setterinherited
justifyItems GridAxisAlignment
no setterinherited
justifySelf GridAxisAlignment
no setterinherited
left CSSLengthValue
no setterinherited
letterSpacing CSSLengthValue?
no setterinherited
lineClamp int?
no setterinherited
lineHeight CSSLengthValue
no setterinherited
margin EdgeInsets
no setterinherited
marginBottom CSSLengthValue
no setterinherited
marginLeft CSSLengthValue
no setterinherited
marginRight CSSLengthValue
no setterinherited
marginTop CSSLengthValue
no setterinherited
maxHeight CSSLengthValue
no setterinherited
maxWidth CSSLengthValue
no setterinherited
minHeight CSSLengthValue
no setterinherited
minWidth CSSLengthValue
no setterinherited
needsStacking bool
no setterinherited
objectFit BoxFit
no setterinherited
objectPosition Alignment
no setterinherited
opacity double
no setterinherited
order int
no setterinherited
overflowX CSSOverflowType
no setterinherited
overflowY CSSOverflowType
no setterinherited
padding EdgeInsets
no setterinherited
paddingBottom CSSLengthValue
no setterinherited
paddingBoxHeight double?
no setterinherited
paddingBoxLogicalHeight double?
no setterinherited
paddingBoxLogicalWidth double?
no setterinherited
paddingBoxWidth double?
no setterinherited
paddingLeft CSSLengthValue
no setterinherited
paddingRight CSSLengthValue
no setterinherited
paddingTop CSSLengthValue
no setterinherited
position CSSPositionType
no setterinherited
no setterinherited
rootFontSize double
no setterinherited
rowGap CSSLengthValue
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadows List<WebFBoxShadow>?
no setterinherited
sliverDirection Axis
no setterinherited
target Element
no setterinherited
textAlign TextAlign
no setterinherited
textOverflow TextOverflow
no setterinherited
textShadow List<Shadow>?
no setterinherited
top CSSLengthValue
no setterinherited
transform List<CSSFunctionalNotation>?
no setterinherited
transformOrigin CSSOrigin
no setterinherited
transitionDelay List<String>
no setterinherited
transitionDuration List<String>
no setterinherited
transitionProperty List<String>
no setterinherited
transitionTimingFunction List<String>
no setterinherited
verticalAlign VerticalAlign
no setterinherited
viewportSize Size
no setterinherited
visibility Visibility
no setterinherited
whiteSpace WhiteSpace
no setterinherited
widgetRenderObjectIterator Iterable<RenderBoxModel>
no setterinherited
widgetRenderObjects Map<RenderObjectElement, RenderBoxModel>
no setterinherited
width CSSLengthValue
no setterinherited
wordBreak WordBreak
no setterinherited
wordSpacing CSSLengthValue?
no setterinherited
zIndex int?
no setterinherited

Methods

addColorRelativeProperty(String propertyName) → void
inherited
addFontRelativeProperty(String propertyName) → void
inherited
addIntersectionChangeListener(IntersectionChangeCallback entryCallback, List<double> thresholds) → void
inherited
addOrUpdateWidgetRenderObjects(RenderObjectElement ownerRenderObjectElement, RenderBoxModel targetRenderBoxModel) → void
inherited
addRootFontRelativeProperty(String propertyName) → void
inherited
addViewportSizeRelativeProperty() → void
inherited
boxSize() Size?
inherited
cleanContentBoxLogiclHeight() → void
inherited
cleanContentBoxLogiclWidth() → void
inherited
clearIntersectionChangeListeners([RenderObjectElement? flutterWidgetElement]) → void
inherited
clientHeight() double?
inherited
clientWidth() double?
inherited
constraints() BoxConstraints
inherited
contentConstraints() BoxConstraints?
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
dispose() → void
inherited
ensureEventResponderBound() → void
inherited
everyAttachedRenderObjectByTypeAndMatch(RenderObjectGetType getType, RenderObjectMatchers matcher) bool
inherited
everyAttachedWidgetRenderBox(EveryRenderBoxModelHandlerCallback callback) bool
inherited
everyRenderBox(EveryRenderBoxModelHandlerCallback callback) bool
inherited
everyRenderObjectByTypeAndMatch(RenderObjectGetType getType, RenderObjectMatchers matcher) bool
inherited
everyWidgetRenderBox(EveryRenderBoxModelHandlerCallback callback) bool
inherited
getCSSVariable(String identifier, String propertyName) → dynamic
inherited
getCurrentViewportBox() RenderViewportBox?
inherited
getFirstChildRenderStyle<T extends RenderStyle>() → T?
inherited
getHeightByAspectRatio() double
inherited
getLastChildRenderStyle<T extends RenderStyle>() → T?
inherited
getNextSiblingRenderStyle<T extends RenderStyle>() → T?
inherited
getOffset({RenderBoxModel? ancestorRenderBox, bool excludeScrollOffset = false}) Offset
inherited
getParentRenderStyle<T extends RenderStyle>() → T?
inherited
getPreviousSiblingRenderStyle<T extends RenderStyle>() → T?
inherited
getProperty(String key) → dynamic
inherited
getRenderBoxValueByType(RenderObjectGetType getType, RenderBoxModelGetter getter) → dynamic
inherited
getSelfPositionPlaceHolder() RenderPositionPlaceholder?
inherited
getSelfRenderBox(RenderObjectElement? flutterWidgetElement) RenderBoxModel?
inherited
getSelfRenderBoxValue(RenderBoxModelGetter getter) → dynamic
inherited
getSelfRenderStyle<T extends RenderStyle>() → T?
inherited
getWidgetPairedRenderBoxModel(Element targetRenderObjectElement) RenderBoxModel?
inherited
getWidthByAspectRatio() double
inherited
hasRenderBox() bool
inherited
heightSizeType() BoxSizeType
inherited
isBoxModel() bool
inherited
isBoxModelHaveSize() bool
inherited
isDocumentRootBox() bool
inherited
isFirstChildAreRenderBoxModel() bool
inherited
isFirstChildAreRenderFlowLayoutBox() bool
inherited
isFirstChildStyleMatch(RenderStyleMatcher matcher) bool
inherited
isLastChildAreRenderBoxModel() bool
inherited
isLastChildAreRenderLayoutBox() bool
inherited
isLastChildStyleMatch(RenderStyleMatcher matcher) bool
inherited
isLayoutBox() bool
inherited
isNextSiblingAreRenderObject() bool
inherited
isParentBoxModelMatch(RenderBoxModelMatcher matcher) bool
inherited
isParentDocumentRootBox() bool
inherited
isParentRenderBoxModel() bool
inherited
isParentRenderFlexLayout() bool
inherited
isParentRenderFlowLayout() bool
inherited
isParentRenderGridLayout() bool
inherited
isParentRenderLayoutBox() bool
inherited
isParentRenderViewportBox() bool
inherited
isPositionHolderParentIsRenderFlexLayout() bool
inherited
isPositionHolderParentIsRenderLayoutBox() bool
inherited
isPreviousSiblingAreRenderObject() bool
inherited
isPreviousSiblingStyleMatch(RenderStyleMatcher matcher) bool
inherited
isRepaintBoundary() bool
inherited
isSelfAnonymousFlowLayout() bool
inherited
isSelfBoxModelMatch(RenderBoxModelMatcher matcher) bool
inherited
isSelfBoxModelSizeTight() bool
inherited
isSelfContainsRenderPositionPlaceHolder() bool
inherited
isSelfHTMLElement() bool
inherited
isSelfNeedsRelayout() bool
inherited
isSelfParentDataAreRenderLayoutParentData() bool
inherited
isSelfPositioned() bool
inherited
isSelfRenderBoxAttached() bool
inherited
isSelfRenderBoxAttachedToSegmentTree() bool
inherited
isSelfRenderFlexLayout() bool
inherited
isSelfRenderFlowLayout() bool
inherited
isSelfRenderGridLayout() bool
inherited
isSelfRenderLayoutBox() bool
inherited
isSelfRenderReplaced() bool
inherited
isSelfRenderWidget() bool
inherited
isSelfRouterLinkElement() bool
inherited
isSelfScrollingContainer() bool
inherited
isSelfStickyPosition() bool
inherited
localToGlobal(Offset point, {RenderObject? ancestor}) Offset
inherited
markChildrenNeedsSort() → void
inherited
markNeedsBuild() → void
inherited
markNeedsCompositingBitsUpdate() → void
inherited
markNeedsLayout() → void
inherited
markNeedsPaint() → void
inherited
markNeedsRelayout() → void
inherited
markParentNeedsLayout() → void
inherited
markParentNeedsRelayout() → void
inherited
markParentNeedsSort() → void
inherited
markPositionHolderParentNeedsLayout() → void
inherited
markSelfAndParentBoxModelNeedsLayout() → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeAllRenderObject() → void
inherited
removeIntersectionChangeListener(IntersectionChangeCallback entryCallback) → void
inherited
removeRenderObject(Element? flutterWidgetElement) → void
inherited
requestWidgetToRebuild(AdapterUpdateReason reason) → void
inherited
resetBoxDecoration() → void
inherited
resolveValue(String property, String present) → dynamic
Resolve the style value.
inherited
scrollableSize() Size?
inherited
setCSSVariable(String identifier, String value) → void
inherited
setDebugShouldPaintOverlay(bool value) → void
inherited
someRenderBoxSatisfy(SomeRenderBoxModelHandlerCallback callback) bool
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toImage(double pixelRatio) Future<Image>
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited
unmountWidgetRenderObject(Element ownerRenderObjectElement) → void
inherited
visitChildren(RenderObjectVisitor visitor) → void
inherited
widthSizeType() BoxSizeType
inherited

Operators

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

Static Properties

DEFAULT_BACKGROUND_POSITION CSSBackgroundPosition
getter/setter pair
DEFAULT_BACKGROUND_SIZE CSSBackgroundSize
getter/setter pair