ViewDecoration constructor
const
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,
Implementation
const ViewDecoration({
this.animation,
this.animationType,
this.background,
this.backgroundState,
this.backgroundBlendMode,
this.clickEffect,
this.backdropFilter,
this.backdropMode,
this.borderColor,
this.borderColorState,
this.borderSize,
this.borderSizeState,
this.borderHorizontal,
this.borderVertical,
this.borderHorizontalState,
this.borderVerticalState,
this.borderTop,
this.borderBottom,
this.borderStart,
this.borderEnd,
this.borderTopState,
this.borderBottomState,
this.borderStartState,
this.borderEndState,
this.borderStrokeAlign,
this.borderRadius,
this.borderRadiusState,
this.borderRadiusBL,
this.borderRadiusBR,
this.borderRadiusTL,
this.borderRadiusTR,
this.borderRadiusBLState,
this.borderRadiusBRState,
this.borderRadiusTLState,
this.borderRadiusTRState,
this.margin,
this.marginHorizontal,
this.marginVertical,
this.marginTop,
this.marginBottom,
this.marginStart,
this.marginEnd,
this.marginCustom,
this.opacity,
this.opacityState,
this.opacityAlwaysIncludeSemantics = false,
this.padding,
this.paddingHorizontal,
this.paddingVertical,
this.paddingTop,
this.paddingBottom,
this.paddingStart,
this.paddingEnd,
this.paddingCustom,
this.pressedColor,
this.rippleColor,
this.shadow,
this.shadowBlurRadius,
this.shadowBlurStyle,
this.shadowSpreadRadius,
this.shadowHorizontal,
this.shadowVertical,
this.shadowStart,
this.shadowEnd,
this.shadowTop,
this.shadowBottom,
this.shadowColor,
this.shadowType,
this.shape,
this.width,
this.widthMax,
this.widthMin,
this.widthState,
this.absorbMode,
this.backgroundGradient,
this.backgroundGradientState,
this.backgroundImage,
this.backgroundImageState,
this.clipBehavior,
this.dimensionRatio,
this.elevation,
this.expandable,
this.flex,
this.foreground,
this.foregroundBlendMode,
this.foregroundGradient,
this.foregroundImage,
this.gravity,
this.height,
this.heightMax,
this.heightMin,
this.heightState,
this.hoverColor,
});