ViewDecoration class

Constructors

ViewDecoration({int? animation, Curve? animationType, Color? background, ValueState<Color>? backgroundState, BlendMode? backgroundBlendMode, ViewClickEffect? clickEffect, ImageFilter? backdropFilter, BlendMode? backdropMode, Color? borderColor, ValueState<Color>? borderColorState, double? borderSize, ValueState<double>? borderSizeState, double? borderHorizontal, double? borderVertical, ValueState<double>? borderHorizontalState, ValueState<double>? borderVerticalState, double? borderTop, double? borderBottom, double? borderStart, double? borderEnd, ValueState<double>? borderTopState, ValueState<double>? borderBottomState, ValueState<double>? borderStartState, ValueState<double>? borderEndState, double? borderStrokeAlign, double? borderRadius, ValueState<double>? borderRadiusState, double? borderRadiusBL, double? borderRadiusBR, double? borderRadiusTL, double? borderRadiusTR, ValueState<double>? borderRadiusBLState, ValueState<double>? borderRadiusBRState, ValueState<double>? borderRadiusTLState, ValueState<double>? borderRadiusTRState, double? margin, double? marginHorizontal, double? marginVertical, double? marginTop, double? marginBottom, double? marginStart, double? marginEnd, EdgeInsets? marginCustom, double? opacity, ValueState<double>? opacityState, bool opacityAlwaysIncludeSemantics = false, double? padding, double? paddingHorizontal, double? paddingVertical, double? paddingTop, double? paddingBottom, double? paddingStart, double? paddingEnd, EdgeInsets? paddingCustom, Color? pressedColor, Color? rippleColor, double? shadow, double? shadowBlurRadius, BlurStyle? shadowBlurStyle, double? shadowSpreadRadius, double? shadowHorizontal, double? shadowVertical, double? shadowStart, double? shadowEnd, double? shadowTop, double? shadowBottom, Color? shadowColor, ViewShadowType? shadowType, ViewShape? shape, double? width, double? widthMax, double? widthMin, ValueState<double>? widthState, bool? absorbMode, Gradient? backgroundGradient, ValueState<Gradient>? backgroundGradientState, DecorationImage? backgroundImage, ValueState<DecorationImage>? backgroundImageState, Clip? clipBehavior, double? dimensionRatio, double? elevation, bool? expandable, int? flex, Color? foreground, BlendMode? foregroundBlendMode, Gradient? foregroundGradient, DecorationImage? foregroundImage, Alignment? gravity, double? height, double? heightMax, double? heightMin, ValueState<double>? heightState, Color? hoverColor})
const

Properties

absorbMode bool?
final
animation int?
final
animationType Curve?
final
backdropFilter ImageFilter?
BACKDROP PROPERTIES
final
backdropMode BlendMode?
final
background Color?
final
backgroundBlendMode BlendMode?
final
backgroundGradient Gradient?
final
backgroundGradientState ValueState<Gradient>?
final
backgroundImage DecorationImage?
final
backgroundImageState ValueState<DecorationImage>?
final
backgroundState ValueState<Color>?
final
borderBottom double?
final
borderBottomState ValueState<double>?
final
borderColor Color?
BORDER PROPERTIES
final
borderColorState ValueState<Color>?
final
borderEnd double?
final
borderEndState ValueState<double>?
final
borderHorizontal double?
final
borderHorizontalState ValueState<double>?
final
borderRadius double?
BORDER RADIUS PROPERTIES
final
borderRadiusBL double?
final
borderRadiusBLState ValueState<double>?
final
borderRadiusBR double?
final
borderRadiusBRState ValueState<double>?
final
borderRadiusState ValueState<double>?
final
borderRadiusTL double?
final
borderRadiusTLState ValueState<double>?
final
borderRadiusTR double?
final
borderRadiusTRState ValueState<double>?
final
borderSize double?
final
borderSizeState ValueState<double>?
final
borderStart double?
final
borderStartState ValueState<double>?
final
borderStrokeAlign double?
final
borderTop double?
final
borderTopState ValueState<double>?
final
borderVertical double?
final
borderVerticalState ValueState<double>?
final
clickEffect ViewClickEffect?
final
clipBehavior Clip?
final
dimensionRatio double?
final
elevation double?
final
expandable bool?
final
flex int?
final
foreground Color?
final
foregroundBlendMode BlendMode?
final
foregroundGradient Gradient?
final
foregroundImage DecorationImage?
final
gravity Alignment?
final
hashCode int
The hash code for this object.
no setterinherited
height double?
final
heightMax double?
final
heightMin double?
final
heightState ValueState<double>?
final
hoverColor Color?
final
margin double?
MARGIN PROPERTIES
final
marginBottom double?
final
marginCustom EdgeInsets?
final
marginEnd double?
final
marginHorizontal double?
final
marginStart double?
final
marginTop double?
final
marginVertical double?
final
opacity double?
OPACITY PROPERTIES
final
opacityAlwaysIncludeSemantics bool
final
opacityState ValueState<double>?
final
padding double?
PADDING PROPERTIES
final
paddingBottom double?
final
paddingCustom EdgeInsets?
final
paddingEnd double?
final
paddingHorizontal double?
final
paddingStart double?
final
paddingTop double?
final
paddingVertical double?
final
pressedColor Color?
final
rippleColor Color?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadow double?
SHADOW PROPERTIES
final
shadowBlurRadius double?
final
shadowBlurStyle BlurStyle?
final
shadowBottom double?
final
shadowColor Color?
final
shadowEnd double?
final
shadowHorizontal double?
final
shadowSpreadRadius double?
final
shadowStart double?
final
shadowTop double?
final
shadowType ViewShadowType?
final
shadowVertical double?
final
shape ViewShape?
final
width double?
final
widthMax double?
final
widthMin double?
final
widthState ValueState<double>?
final

Methods

copyWith({ViewClickEffect? clickEffect, ImageFilter? backdropFilter, BlendMode? backdropMode, Color? borderColor, ValueState<Color>? borderColorState, double? borderSize, ValueState<double>? borderSizeState, double? borderHorizontal, dynamic borderVertical, ValueState<double>? borderHorizontalState, dynamic borderVerticalState, double? borderTop, dynamic borderBottom, dynamic borderStart, dynamic borderEnd, ValueState<double>? borderTopState, dynamic borderBottomState, ValueState<double>? borderStartState, dynamic borderEndState, double? borderStrokeAlign, double? borderRadius, ValueState<double>? borderRadiusState, double? borderRadiusBL, dynamic borderRadiusBR, dynamic borderRadiusTL, dynamic borderRadiusTR, ValueState<double>? borderRadiusBLState, dynamic borderRadiusBRState, ValueState<double>? borderRadiusTLState, dynamic borderRadiusTRState, double? margin, double? marginHorizontal, dynamic marginVertical, double? marginTop, dynamic marginBottom, dynamic marginStart, dynamic marginEnd, EdgeInsets? marginCustom, double? opacity, ValueState<double>? opacityState, bool? opacityAlwaysIncludeSemantics, double? padding, double? paddingHorizontal, dynamic paddingVertical, double? paddingTop, dynamic paddingBottom, dynamic paddingStart, dynamic paddingEnd, EdgeInsets? paddingCustom, double? shadow, double? shadowBlurRadius, dynamic shadowSpreadRadius, double? shadowHorizontal, dynamic shadowVertical, double? shadowStart, dynamic shadowEnd, dynamic shadowTop, dynamic shadowBottom}) ViewDecoration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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