discontinuedPackage androssy_widgets has been discontinued.

init method

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

Implementation

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