YMRView<T extends ViewController> constructor

const YMRView<T extends ViewController>({
  1. Key? key,
  2. ViewClickEffect? clickEffect,
  3. OnViewClickListener? onClick,
  4. OnViewClickListener? onDoubleClick,
  5. OnViewClickListener? onLongClick,
  6. OnViewNotifyListener<T>? onClickHandler,
  7. OnViewNotifyListener<T>? onDoubleClickHandler,
  8. OnViewNotifyListener<T>? onLongClickHandler,
  9. OnViewHoverListener? onHover,
  10. OnViewToggleListener? onToggleClick,
  11. OnViewActivator? onActivator,
  12. OnViewChangeListener? onChange,
  13. OnViewErrorListener? onError,
  14. OnViewValidListener? onValid,
  15. OnViewValidatorListener? onValidator,
  16. T? controller,
  17. bool? absorbMode,
  18. bool? activated,
  19. Color? background,
  20. ValueState<Color>? backgroundState,
  21. BlendMode? backgroundBlendMode,
  22. Gradient? backgroundGradient,
  23. ValueState<Gradient>? backgroundGradientState,
  24. DecorationImage? backgroundImage,
  25. ValueState<DecorationImage>? backgroundImageState,
  26. Clip? clipBehavior,
  27. double? dimensionRatio,
  28. double? elevation,
  29. bool? enabled,
  30. bool? expandable,
  31. Color? foreground,
  32. BlendMode? foregroundBlendMode,
  33. Gradient? foregroundGradient,
  34. DecorationImage? foregroundImage,
  35. int? flex,
  36. Alignment? gravity,
  37. double? height,
  38. ValueState<double>? heightState,
  39. double? heightMax,
  40. double? heightMin,
  41. Color hoverColor = Colors.transparent,
  42. Axis? orientation,
  43. ViewPosition? position,
  44. ViewPositionType? positionType,
  45. Color pressedColor = Colors.transparent,
  46. Color rippleColor = Colors.transparent,
  47. bool? scrollable,
  48. ScrollController? scrollController,
  49. ViewScrollingType? scrollingType,
  50. ViewShape? shape,
  51. Matrix4? transform,
  52. Alignment? transformGravity,
  53. bool? visibility,
  54. double? width,
  55. ValueState<double>? widthState,
  56. double? widthMax,
  57. double? widthMin,
  58. int? animation,
  59. Curve? animationType,
  60. ImageFilter? backdropFilter,
  61. BlendMode? backdropMode,
  62. Color? borderColor,
  63. ValueState<Color>? borderColorState,
  64. double? borderSize,
  65. ValueState<double>? borderSizeState,
  66. double? borderHorizontal,
  67. ValueState<double>? borderHorizontalState,
  68. double? borderVertical,
  69. ValueState<double>? borderVerticalState,
  70. double? borderTop,
  71. ValueState<double>? borderTopState,
  72. double? borderBottom,
  73. ValueState<double>? borderBottomState,
  74. double? borderStart,
  75. ValueState<double>? borderStartState,
  76. double? borderEnd,
  77. ValueState<double>? borderEndState,
  78. double? borderStrokeAlign,
  79. double? borderRadius,
  80. ValueState<double>? borderRadiusState,
  81. double? borderRadiusBL,
  82. ValueState<double>? borderRadiusBLState,
  83. double? borderRadiusBR,
  84. ValueState<double>? borderRadiusBRState,
  85. double? borderRadiusTL,
  86. ValueState<double>? borderRadiusTLState,
  87. double? borderRadiusTR,
  88. ValueState<double>? borderRadiusTRState,
  89. bool indicatorVisible = false,
  90. double? margin,
  91. double? marginHorizontal,
  92. double? marginVertical,
  93. double? marginTop,
  94. double? marginBottom,
  95. double? marginStart,
  96. double? marginEnd,
  97. EdgeInsets? marginCustom,
  98. double? opacity,
  99. ValueState<double>? opacityState,
  100. bool opacityAlwaysIncludeSemantics = false,
  101. double? padding,
  102. double? paddingHorizontal,
  103. double? paddingVertical,
  104. double? paddingTop,
  105. double? paddingBottom,
  106. double? paddingStart,
  107. double? paddingEnd,
  108. EdgeInsets? paddingCustom,
  109. double? shadow,
  110. double? shadowBlurRadius,
  111. BlurStyle? shadowBlurStyle,
  112. Color? shadowColor,
  113. ViewShadowType? shadowType,
  114. double? shadowSpreadRadius,
  115. double? shadowHorizontal,
  116. double? shadowVertical,
  117. double? shadowStart,
  118. double? shadowEnd,
  119. double? shadowTop,
  120. double? shadowBottom,
  121. bool? wrapper,
  122. Widget? child,
})

Implementation

const YMRView({
  /// ROOT PROPERTIES
  super.key,

  /// LISTENER PROPERTIES
  this.clickEffect,
  this.onClick,
  this.onDoubleClick,
  this.onLongClick,
  this.onClickHandler,
  this.onDoubleClickHandler,
  this.onLongClickHandler,
  this.onHover,
  this.onToggleClick,

  /// CALLBACK PROPERTIES
  this.onActivator,
  this.onChange,
  this.onError,
  this.onValid,
  this.onValidator,

  ///BASE PROPERTIES
  this.controller,
  this.absorbMode,
  this.activated,
  this.background,
  this.backgroundState,
  this.backgroundBlendMode,
  this.backgroundGradient,
  this.backgroundGradientState,
  this.backgroundImage,
  this.backgroundImageState,
  this.clipBehavior,
  this.dimensionRatio,
  this.elevation,
  this.enabled,
  this.expandable,
  this.foreground,
  this.foregroundBlendMode,
  this.foregroundGradient,
  this.foregroundImage,
  this.flex,
  this.gravity,
  this.height,
  this.heightState,
  this.heightMax,
  this.heightMin,
  this.hoverColor = Colors.transparent,
  this.orientation,
  this.position,
  this.positionType,
  this.pressedColor = Colors.transparent,
  this.rippleColor = Colors.transparent,
  this.scrollable,
  this.scrollController,
  this.scrollingType,
  this.shape,
  this.transform,
  this.transformGravity,
  this.visibility,
  this.width,
  this.widthState,
  this.widthMax,
  this.widthMin,

  /// ANIMATION PROPERTIES
  this.animation,
  this.animationType,

  /// BACKDROP PROPERTIES
  this.backdropFilter,
  this.backdropMode,

  /// BORDER PROPERTIES
  this.borderColor,
  this.borderColorState,
  this.borderSize,
  this.borderSizeState,
  this.borderHorizontal,
  this.borderHorizontalState,
  this.borderVertical,
  this.borderVerticalState,
  this.borderTop,
  this.borderTopState,
  this.borderBottom,
  this.borderBottomState,
  this.borderStart,
  this.borderStartState,
  this.borderEnd,
  this.borderEndState,
  this.borderStrokeAlign,

  /// BORDER RADIUS PROPERTIES
  this.borderRadius,
  this.borderRadiusState,
  this.borderRadiusBL,
  this.borderRadiusBLState,
  this.borderRadiusBR,
  this.borderRadiusBRState,
  this.borderRadiusTL,
  this.borderRadiusTLState,
  this.borderRadiusTR,
  this.borderRadiusTRState,

  /// INDICATOR PROPERTIES
  this.indicatorVisible = false,

  /// MARGIN PROPERTIES
  this.margin,
  this.marginHorizontal,
  this.marginVertical,
  this.marginTop,
  this.marginBottom,
  this.marginStart,
  this.marginEnd,
  this.marginCustom,

  /// OPACITY PROPERTIES
  this.opacity,
  this.opacityState,
  this.opacityAlwaysIncludeSemantics = false,

  /// PADDING PROPERTIES
  this.padding,
  this.paddingHorizontal,
  this.paddingVertical,
  this.paddingTop,
  this.paddingBottom,
  this.paddingStart,
  this.paddingEnd,
  this.paddingCustom,

  /// SHADOW PROPERTIES
  this.shadow,
  this.shadowBlurRadius,
  this.shadowBlurStyle,
  this.shadowColor,
  this.shadowType,
  this.shadowSpreadRadius,
  this.shadowHorizontal,
  this.shadowVertical,
  this.shadowStart,
  this.shadowEnd,
  this.shadowTop,
  this.shadowBottom,

  /// OPTIONAL PROPERTIES
  this.wrapper,
  this.child,
});