ViewDecoration constructor

const ViewDecoration({
  1. int? animation,
  2. Curve? animationType,
  3. Color? background,
  4. ValueState<Color>? backgroundState,
  5. BlendMode? backgroundBlendMode,
  6. ViewClickEffect? clickEffect,
  7. ImageFilter? backdropFilter,
  8. BlendMode? backdropMode,
  9. Color? borderColor,
  10. ValueState<Color>? borderColorState,
  11. double? borderSize,
  12. ValueState<double>? borderSizeState,
  13. double? borderHorizontal,
  14. double? borderVertical,
  15. ValueState<double>? borderHorizontalState,
  16. ValueState<double>? borderVerticalState,
  17. double? borderTop,
  18. double? borderBottom,
  19. double? borderStart,
  20. double? borderEnd,
  21. ValueState<double>? borderTopState,
  22. ValueState<double>? borderBottomState,
  23. ValueState<double>? borderStartState,
  24. ValueState<double>? borderEndState,
  25. double? borderStrokeAlign,
  26. double? borderRadius,
  27. ValueState<double>? borderRadiusState,
  28. double? borderRadiusBL,
  29. double? borderRadiusBR,
  30. double? borderRadiusTL,
  31. double? borderRadiusTR,
  32. ValueState<double>? borderRadiusBLState,
  33. ValueState<double>? borderRadiusBRState,
  34. ValueState<double>? borderRadiusTLState,
  35. ValueState<double>? borderRadiusTRState,
  36. double? margin,
  37. double? marginHorizontal,
  38. double? marginVertical,
  39. double? marginTop,
  40. double? marginBottom,
  41. double? marginStart,
  42. double? marginEnd,
  43. EdgeInsets? marginCustom,
  44. double? opacity,
  45. ValueState<double>? opacityState,
  46. bool opacityAlwaysIncludeSemantics = false,
  47. double? padding,
  48. double? paddingHorizontal,
  49. double? paddingVertical,
  50. double? paddingTop,
  51. double? paddingBottom,
  52. double? paddingStart,
  53. double? paddingEnd,
  54. EdgeInsets? paddingCustom,
  55. Color? pressedColor,
  56. Color? rippleColor,
  57. double? shadow,
  58. double? shadowBlurRadius,
  59. BlurStyle? shadowBlurStyle,
  60. double? shadowSpreadRadius,
  61. double? shadowHorizontal,
  62. double? shadowVertical,
  63. double? shadowStart,
  64. double? shadowEnd,
  65. double? shadowTop,
  66. double? shadowBottom,
  67. Color? shadowColor,
  68. ViewShadowType? shadowType,
  69. ViewShape? shape,
  70. double? width,
  71. double? widthMax,
  72. double? widthMin,
  73. ValueState<double>? widthState,
  74. bool? absorbMode,
  75. Gradient? backgroundGradient,
  76. ValueState<Gradient>? backgroundGradientState,
  77. DecorationImage? backgroundImage,
  78. ValueState<DecorationImage>? backgroundImageState,
  79. Clip? clipBehavior,
  80. double? dimensionRatio,
  81. double? elevation,
  82. bool? expandable,
  83. int? flex,
  84. Color? foreground,
  85. BlendMode? foregroundBlendMode,
  86. Gradient? foregroundGradient,
  87. DecorationImage? foregroundImage,
  88. Alignment? gravity,
  89. double? height,
  90. double? heightMax,
  91. double? heightMin,
  92. ValueState<double>? heightState,
  93. 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,
});