Decor class

Decor ~ DecorConfig final class.

Inheritance
Mixed in types

Constructors

Decor({Key? key})

Properties

alignmentToCenter Decor
@shortcut ~ align to center
no setterinherited
alignmentToEnd Decor
@shortcut ~ align to bottom right corner
no setterinherited
alignmentToStart Decor
@shortcut ~ align to top left corner
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
heightToInfinity Decor
@shortcut ~ expand height to maximum
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sizeToInfinity Decor
@shortcut ~ expand size to maximum
no setterinherited
widthToInfinity Decor
@shortcut ~ expand width to maximum
no setterinherited

Methods

alignment(Alignment? alignment) Decor
@varies ~ set alignment
inherited
axis(Axis? axis) Decor
@fixed ~ set axis
inherited
bucketFill(Color color) Decor
@varies ~ set single color
inherited
call() DecorOUT
subclass should override this method to define the associated ConfigOUT. of the Call this method to get an instance of the associated ConfigOUT data.
inherited
child(Widget child) Decor
@fixed ~ set child
inherited
children(List<Widget>? children) Decor
@fixed ~ set children
inherited
clip(Clip? clip) Decor
@fixed ~ set clip behaviour
inherited
constraints(BoxConstraints? constraints) Decor
@varies ~ set box constraints
inherited
copy<Type>(Decor t) Decor
inherited
copyInkwell(InkwellConfig<InkwellConfig<dynamic, InkwellConfigIN, InkwellConfigOUT>, InkwellConfigIN, InkwellConfigOUT> inkwell) Decor
@config reference ~ copy inkwell
inherited
copyLayout(LayoutConfig<LayoutConfig<dynamic, LayoutConfigIN, LayoutConfigOUT>, LayoutConfigIN, LayoutConfigOUT> layout) Decor
@config reference ~ copy umbra
inherited
copyRadii(RadiiConfig<RadiiConfig<dynamic, RadiiConfigIN, RadiiConfigOUT>, RadiiConfigIN, RadiiConfigOUT> radii) Decor
@config reference ~ copy radii
inherited
copyUmbra(UmbraConfig<UmbraConfig<dynamic, UmbraConfigIN, UmbraConfigOUT>, UmbraConfigIN, UmbraConfigOUT> umbra) Decor
@config reference ~ copy umbra
inherited
createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createNew() Decor
override
createState() ConfigState<Decor, DecorIN, DecorOUT>
Creates the mutable state for this widget at a given location in the tree.
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
focusColor(Color color, [int? alpha]) Decor
@varies ~ set focus color
inherited
gradientFill(List<DecorPaint> hue) Decor
@varies ~ set fill decor paint list
inherited
gradientFocal(Alignment focal) Decor
@varies, customized ~ set gradient fill origin
inherited
gradientOrigin(Alignment origin) Decor
@varies, customized ~ set gradient fill origin,
inherited
gradientStyle(GradientStyle? style) Decor
@varies, customized ~ set decor style
inherited
height(double height) Decor
@varies ~ set height
inherited
heightFactor(double factor) Decor
@varies ~ set height scale factor
inherited
highlightColor(Color color, [int? alpha]) Decor
@varies ~ set highlight color
inherited
hoverColor(Color color, [int? alpha]) Decor
@varies ~ set hover color
inherited
inkType(InkType type) Decor
@fixed ~ set Inkwell type
inherited
margin(EdgeInsets? margin) Decor
@varies ~ set margin
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onLongPress(dynamic onLongPress()) Decor
@fixed ~ set long press callback
inherited
onTap(dynamic onTap()) Decor
@fixed ~ set tap callback
inherited
overlayColor(Color color, [int? alpha]) Decor
@varies ~ set overlay color
inherited
padding(EdgeInsets? padding) Decor
@varies ~ set padding
inherited
paint(Color color, double stop) Decor
@varies ~ adds color with stop
inherited
resolve<Type>(dynamic data, Symbol tag) Decor
inherited
roundBottom(double value) Decor
inherited
roundBottomLeft(double x, [double? y]) Decor
inherited
roundBottomLeftX(double value) Decor
inherited
roundBottomLeftY(double value) Decor
inherited
roundBottomRight(double x, [double? y]) Decor
inherited
roundBottomRightX(double value) Decor
inherited
roundBottomRightY(double value) Decor
inherited
roundLeft(double value) Decor
inherited
roundRight(double value) Decor
inherited
roundTop(double value) Decor
inherited
roundTopLeft(double x, [double? y]) Decor
inherited
roundTopLeftX(double value) Decor
inherited
roundTopLeftY(double value) Decor
inherited
roundTopRight(double x, [double? y]) Decor
inherited
roundTopRightX(double value) Decor
inherited
roundTopRightY(double value) Decor
inherited
shadowBlur(double blur) Decor
@varies ~ set shadow blur radius
inherited
shadowColor(Color color, [int? alpha]) Decor
@varies ~ shadow color
inherited
shadowOffset(double x, [double? y]) Decor
@varies ~ set shadow offset (x, y)
inherited
shadowPosition(DecorationPosition? position) Decor
@fixed ~ set shadow layer position
inherited
shadowSpread(double spread) Decor
@varies ~ set shadow spread radius
inherited
size(double x, [double? y]) Decor
@varies ~ set size
inherited
splashColor(Color color, [int? alpha]) Decor
@varies ~ set splash color
inherited
stroke(double? size, [Color? color]) Decor
@varies ~ set stroke color
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
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) 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 short, textual description of this widget.
inherited
update(DecorIN change(DecorIN data)) Decor
inherited
width(double width) Decor
@varies ~ set width
inherited
widthFactor(double factor) Decor
@varies ~ set width scale factor
inherited

Operators

operator *(double operand) Decor
inherited
operator +(Decor operand) Decor
inherited
operator -(Decor operand) Decor
inherited
operator ==(Object other) bool
The equality operator.
inherited