discontinuedPackage androssy_widgets has been discontinued.

properties method

ViewController properties({
  1. required bool? activated,
  2. required bool? enabled,
  3. required bool? visibility,
  4. required int? animation,
  5. required Curve? animationType,
  6. required int? flex,
  7. required double? dimensionRatio,
  8. required double? width,
  9. required double? widthMax,
  10. required double? widthMin,
  11. required double? height,
  12. required double? heightMax,
  13. required double? heightMin,
  14. required double? margin,
  15. required double? marginHorizontal,
  16. required double? marginVertical,
  17. required double? marginTop,
  18. required double? marginBottom,
  19. required double? marginStart,
  20. required double? marginEnd,
  21. required double? padding,
  22. required double? paddingHorizontal,
  23. required double? paddingVertical,
  24. required double? paddingTop,
  25. required double? paddingBottom,
  26. required double? paddingStart,
  27. required double? paddingEnd,
  28. required double? border,
  29. required double? borderHorizontal,
  30. required double? borderVertical,
  31. required double? borderTop,
  32. required double? borderBottom,
  33. required double? borderStart,
  34. required double? borderEnd,
  35. required double? borderRadius,
  36. required double? borderRadiusBL,
  37. required double? borderRadiusBR,
  38. required double? borderRadiusTL,
  39. required double? borderRadiusTR,
  40. required double? shadow,
  41. required double? shadowBlurRadius,
  42. required double? shadowSpreadRadius,
  43. required double? shadowHorizontal,
  44. required double? shadowVertical,
  45. required double? shadowStart,
  46. required double? shadowEnd,
  47. required double? shadowTop,
  48. required double? shadowBottom,
  49. required Color? background,
  50. required Color? foreground,
  51. required Color? borderColor,
  52. required Color? shadowColor,
  53. required Alignment? gravity,
  54. required Alignment? transformGravity,
  55. required BlendMode? backgroundBlendMode,
  56. required BlendMode? foregroundBlendMode,
  57. required DecorationImage? backgroundImage,
  58. required DecorationImage? foregroundImage,
  59. required Gradient? backgroundGradient,
  60. required Gradient? foregroundGradient,
  61. required Gradient? borderGradient,
  62. required Matrix4? transform,
  63. required BlurStyle? shadowBlurStyle,
  64. required Clip? clipBehavior,
  65. required ViewShadowType? shadowType,
  66. required ViewPosition? position,
  67. required ViewPositionType? positionType,
  68. required ViewProperties? root,
  69. required ViewShape? shape,
  70. required Widget? child,
  71. required OnViewClickListener? onClick,
  72. required OnViewClickListener? onDoubleClick,
  73. required OnViewClickListener? onLongClick,
  74. required OnViewNotifyListener<ViewController>? onClickHandle,
  75. required OnViewNotifyListener<ViewController>? onDoubleClickHandle,
  76. required OnViewNotifyListener<ViewController>? onLongClickHandle,
})

Implementation

ViewController properties({
  required bool? activated,
  required bool? enabled,
  required bool? visibility,
  required int? animation,
  required Curve? animationType,
  required int? flex,
  required double? dimensionRatio,
  required double? width,
  required double? widthMax,
  required double? widthMin,
  required double? height,
  required double? heightMax,
  required double? heightMin,
  required double? margin,
  required double? marginHorizontal,
  required double? marginVertical,
  required double? marginTop,
  required double? marginBottom,
  required double? marginStart,
  required double? marginEnd,
  required double? padding,
  required double? paddingHorizontal,
  required double? paddingVertical,
  required double? paddingTop,
  required double? paddingBottom,
  required double? paddingStart,
  required double? paddingEnd,
  required double? border,
  required double? borderHorizontal,
  required double? borderVertical,
  required double? borderTop,
  required double? borderBottom,
  required double? borderStart,
  required double? borderEnd,
  required double? borderRadius,
  required double? borderRadiusBL,
  required double? borderRadiusBR,
  required double? borderRadiusTL,
  required double? borderRadiusTR,
  required double? shadow,
  required double? shadowBlurRadius,
  required double? shadowSpreadRadius,
  required double? shadowHorizontal,
  required double? shadowVertical,
  required double? shadowStart,
  required double? shadowEnd,
  required double? shadowTop,
  required double? shadowBottom,
  required Color? background,
  required Color? foreground,
  required Color? borderColor,
  required Color? shadowColor,
  required Alignment? gravity,
  required Alignment? transformGravity,
  required BlendMode? backgroundBlendMode,
  required BlendMode? foregroundBlendMode,
  required DecorationImage? backgroundImage,
  required DecorationImage? foregroundImage,
  required Gradient? backgroundGradient,
  required Gradient? foregroundGradient,
  required Gradient? borderGradient,
  required Matrix4? transform,
  required BlurStyle? shadowBlurStyle,
  required Clip? clipBehavior,
  required ViewShadowType? shadowType,
  required ViewPosition? position,
  required ViewPositionType? positionType,
  required ViewProperties? root,
  required ViewShape? shape,
  required Widget? child,
  required OnViewClickListener? onClick,
  required OnViewClickListener? onDoubleClick,
  required OnViewClickListener? onLongClick,
  required OnViewNotifyListener? onClickHandle,
  required OnViewNotifyListener? onDoubleClickHandle,
  required OnViewNotifyListener? onLongClickHandle,
}) {
  // VIEW CONDITIONAL PROPERTIES
  this.activated = activated ?? this.activated;
  this.enabled = enabled ?? this.enabled;
  this.visibility = visibility ?? this.visibility;

  // ANIMATION PROPERTIES
  this.animation = animation ?? this.animation;
  this.animationType = animationType ?? this.animationType;

  // VIEW SIZE PROPERTIES
  this.flex = flex ?? this.flex;
  _dimensionRatio = dimensionRatio ?? _dimensionRatio;
  _width = width ?? _width;
  _widthMax = widthMax ?? _widthMax;
  _widthMin = widthMin ?? _widthMin;
  _height = height ?? _height;
  _heightMax = heightMax ?? _heightMax;
  _heightMin = heightMin ?? _heightMin;

  // VIEW MARGIN PROPERTIES
  this.margin = margin ?? this.margin;
  this.marginVertical = marginVertical ?? this.marginVertical;
  _marginStart = marginStart ?? _marginStart;
  _marginEnd = marginEnd ?? _marginEnd;
  _marginTop = marginTop ?? _marginTop;
  _marginBottom = marginBottom ?? _marginBottom;
  this.marginHorizontal = marginHorizontal ?? this.marginHorizontal;

  // VIEW PADDING PROPERTIES
  this.padding = padding ?? this.padding;
  _paddingStart = paddingStart ?? _paddingStart;
  _paddingEnd = paddingEnd ?? _paddingEnd;
  _paddingTop = paddingTop ?? _paddingTop;
  _paddingBottom = paddingBottom ?? _paddingBottom;
  this.paddingHorizontal = paddingHorizontal ?? this.paddingHorizontal;
  this.paddingVertical = paddingVertical ?? this.paddingVertical;

  // VIEW BORDER PROPERTIES
  this.borderColor = borderColor ?? this.borderColor;
  this.borderGradient = borderGradient ?? this.borderGradient;
  this.border = border ?? this.border;
  _borderStart = borderStart ?? _borderStart;
  _borderEnd = borderEnd ?? _borderEnd;
  _borderTop = borderTop ?? _borderTop;
  _borderBottom = borderBottom ?? _borderBottom;
  this.borderHorizontal = borderHorizontal ?? this.borderHorizontal;
  this.borderVertical = borderVertical ?? this.borderVertical;

  // VIEW BORDER RADIUS PROPERTIES
  this.borderRadius = borderRadius ?? this.borderRadius;
  _borderRadiusBL = borderRadiusBL ?? _borderRadiusBL;
  _borderRadiusBR = borderRadiusBR ?? _borderRadiusBR;
  _borderRadiusTL = borderRadiusTL ?? _borderRadiusTL;
  _borderRadiusTL = borderRadiusTL ?? _borderRadiusTL;

  // VIEW SHADOW PROPERTIES
  this.shadowColor = shadowColor ?? this.shadowColor;
  this.shadow = shadow ?? this.shadow;
  _shadowStart = shadowStart ?? _shadowStart;
  _shadowEnd = shadowEnd ?? _shadowEnd;
  __shadowTop = shadowTop ?? __shadowTop;
  _shadowBottom = shadowBottom ?? _shadowBottom;
  this.shadowHorizontal = shadowHorizontal ?? this.shadowHorizontal;
  this.shadowVertical = shadowVertical ?? this.shadowVertical;
  this.shadowBlurRadius = shadowBlurRadius ?? this.shadowBlurRadius;
  this.shadowBlurStyle = shadowBlurStyle ?? this.shadowBlurStyle;
  this.shadowSpreadRadius = shadowSpreadRadius ?? this.shadowSpreadRadius;
  this.shadowType = shadowType ?? this.shadowType;

  // VIEW DECORATION PROPERTIES
  this.background = background ?? this.background;
  this.foreground = foreground ?? this.foreground;
  this.backgroundBlendMode = backgroundBlendMode ?? this.backgroundBlendMode;
  this.foregroundBlendMode = foregroundBlendMode ?? this.foregroundBlendMode;
  this.backgroundGradient = backgroundGradient ?? this.backgroundGradient;
  this.foregroundGradient = foregroundGradient ?? this.foregroundGradient;
  this.backgroundImage = backgroundImage ?? this.backgroundImage;
  this.foregroundImage = foregroundImage ?? this.foregroundImage;
  this.clipBehavior = clipBehavior ?? this.clipBehavior;
  this.gravity = gravity ?? this.gravity;
  this.transform = transform ?? this.transform;
  this.transformGravity = transformGravity ?? this.transformGravity;
  this.transform = transform ?? this.transform;
  _position = position ?? _position;
  this.positionType = positionType ?? this.positionType;
  this.shape = shape ?? this.shape;
  this.root = root ?? this.root;
  this.child = child ?? this.child;

  // VIEW LISTENER PROPERTIES
  this.onClick = onClick ?? this.onClick;
  this.onDoubleClick = onDoubleClick ?? this.onDoubleClick;
  this.onLongClick = onLongClick ?? this.onLongClick;
  this.onClickHandle = onClickHandle ?? this.onClickHandle;
  this.onDoubleClickHandle = onDoubleClickHandle ?? this.onDoubleClickHandle;
  this.onLongClickHandle = onLongClickHandle ?? this.onLongClickHandle;

  return this;
}