BaseView<T extends ViewController> constructor

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

Implementation

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

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

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

  ///BASE PROPERTIES
  T? 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,
}) : _controller = controller;