discontinuedPackage androssy_widgets has been discontinued.

ViewController constructor

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

Implementation

ViewController({
  this.activated = false,
  this.enabled = true,
  this.root = const ViewProperties(),
  this.visibility = true,
  this.flex = 0,
  double? dimensionRatio,
  double? width,
  double? widthMax,
  double? widthMin,
  double? height,
  double? heightMax,
  double? heightMin,
  this.animation = 0,
  this.animationType = Curves.linear,
  this.margin = 0,
  this.marginHorizontal,
  this.marginVertical,
  double? marginTop,
  double? marginBottom,
  double? marginStart,
  double? marginEnd,
  this.padding = 0,
  this.paddingHorizontal,
  this.paddingVertical,
  double? paddingTop,
  double? paddingBottom,
  double? paddingStart,
  double? paddingEnd,
  this.border = 0,
  this.borderHorizontal,
  this.borderVertical,
  double? borderTop,
  double? borderBottom,
  double? borderStart,
  double? borderEnd,
  this.borderRadius = 0,
  double? borderRadiusBL,
  double? borderRadiusBR,
  double? borderRadiusTL,
  double? borderRadiusTR,
  this.shadow = 0,
  this.shadowBlurRadius = 0,
  this.shadowSpreadRadius = 0,
  this.shadowHorizontal,
  this.shadowVertical,
  double? shadowStart,
  double? shadowEnd,
  double? shadowTop,
  double? shadowBottom,
  this.background,
  this.foreground,
  this.borderColor,
  this.shadowColor,
  this.gravity,
  this.transformGravity,
  this.backgroundBlendMode,
  this.foregroundBlendMode,
  this.backgroundImage,
  this.foregroundImage,
  this.backgroundGradient,
  this.foregroundGradient,
  this.borderGradient,
  this.transform,
  this.shadowBlurStyle = BlurStyle.normal,
  this.clipBehavior = Clip.antiAlias,
  this.shadowType = ViewShadowType.none,
  ViewPosition? position,
  this.positionType = ViewPositionType.none,
  this.shape = ViewShape.rectangular,
  this.child,
  this.onClickHandle,
  this.onDoubleClickHandle,
  this.onLongClickHandle,
  OnViewClickListener? onClick,
  OnViewClickListener? onDoubleClick,
  OnViewClickListener? onLongClick,
})  : _marginStart = marginStart,
      _marginEnd = marginEnd,
      _marginTop = marginTop,
      _marginBottom = marginBottom,
      _paddingStart = paddingStart,
      _paddingEnd = paddingEnd,
      _paddingTop = paddingTop,
      _paddingBottom = paddingBottom,
      _position = position,
      _shadowBottom = shadowBottom,
      __shadowTop = shadowTop,
      _shadowEnd = shadowEnd,
      _shadowStart = shadowStart,
      _heightMin = heightMin,
      _heightMax = heightMax,
      _widthMin = widthMin,
      _widthMax = widthMax,
      _width = width,
      _height = height,
      _borderRadiusTR = borderRadiusTR,
      _borderRadiusTL = borderRadiusTL,
      _borderRadiusBR = borderRadiusBR,
      _borderRadiusBL = borderRadiusBL,
      _borderEnd = borderEnd,
      _borderStart = borderStart,
      _borderBottom = borderBottom,
      _borderTop = borderTop,
      _dimensionRatio = dimensionRatio,
      _onClick = onClick,
      _onDoubleClick = onDoubleClick,
      _onLongClick = onLongClick;