TitledView constructor

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

Implementation

const TitledView({
  /// ROOT PROPERTIES
  super.key,
  super.controller,

  /// CALLBACK PROPERTIES
  super.onActivator,
  super.onChange,
  super.onError,
  super.onHover,
  super.onValid,
  super.onValidator,

  /// CLICK PROPERTIES
  super.clickEffect,
  super.onClick,
  super.onDoubleClick,
  super.onLongClick,
  super.onToggleClick,
  super.onClickHandler,
  super.onDoubleClickHandler,
  super.onLongClickHandler,

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

  /// ANIMATION PROPERTIES
  super.animation,
  super.animationType,

  /// BACKDROP PROPERTIES
  super.backdropFilter,
  super.backdropMode,

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

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

  /// INDICATOR PROPERTIES
  super.indicatorVisible,

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

  /// OPACITY PROPERTIES
  super.opacity,
  super.opacityState,
  super.opacityAlwaysIncludeSemantics,

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

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

  /// TITLE CONTENTS
  this.title,
  this.titleColor,
  this.titleSize,
  this.titleFontFamily,
  this.titleFontWeight,
  this.titleSpaceFromDescription = 0,
  this.titleSpacingExtra = 0,

  /// BODY CONTENTS
  this.subtitle,
  this.subtitleColor,
  this.subtitleSize,
  this.subtitleFontFamily,
  this.subtitleFontWeight,
  this.subtitleSpacingExtra = 0,
});