CheckmarkView constructor

const CheckmarkView({
  1. Key? key,
  2. CheckmarkViewController? 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<CheckmarkViewController>? onClickHandler,
  15. OnViewNotifyListener<CheckmarkViewController>? onDoubleClickHandler,
  16. OnViewNotifyListener<CheckmarkViewController>? onLongClickHandler,
  17. bool? absorbMode,
  18. Color? background,
  19. ValueState<Color>? backgroundState,
  20. BlendMode? backgroundBlendMode,
  21. Gradient? backgroundGradient,
  22. ValueState<Gradient>? backgroundGradientState,
  23. DecorationImage? backgroundImage,
  24. ValueState<DecorationImage>? backgroundImageState,
  25. Clip? clipBehavior,
  26. double? dimensionRatio,
  27. double? elevation,
  28. bool? enabled,
  29. bool? expandable,
  30. Color? foreground,
  31. BlendMode? foregroundBlendMode,
  32. Gradient? foregroundGradient,
  33. DecorationImage? foregroundImage,
  34. int? flex,
  35. Alignment? gravity,
  36. double? height,
  37. ValueState<double>? heightState,
  38. double? heightMax,
  39. double? heightMin,
  40. Color hoverColor = Colors.transparent,
  41. Axis? orientation,
  42. ViewPosition? position,
  43. ViewPositionType? positionType,
  44. Color pressedColor = Colors.transparent,
  45. Color rippleColor = Colors.transparent,
  46. bool? scrollable,
  47. ScrollController? scrollController,
  48. ViewScrollingType? scrollingType,
  49. ViewShape? shape,
  50. Matrix4? transform,
  51. Alignment? transformGravity,
  52. bool? visibility,
  53. double? width,
  54. ValueState<double>? widthState,
  55. double? widthMax,
  56. double? widthMin,
  57. int? animation,
  58. Curve? animationType,
  59. ImageFilter? backdropFilter,
  60. BlendMode? backdropMode,
  61. Color? borderColor,
  62. ValueState<Color>? borderColorState,
  63. double? borderSize,
  64. ValueState<double>? borderSizeState,
  65. double? borderHorizontal,
  66. ValueState<double>? borderHorizontalState,
  67. double? borderVertical,
  68. ValueState<double>? borderVerticalState,
  69. double? borderTop,
  70. ValueState<double>? borderTopState,
  71. double? borderBottom,
  72. ValueState<double>? borderBottomState,
  73. double? borderStart,
  74. ValueState<double>? borderStartState,
  75. double? borderEnd,
  76. ValueState<double>? borderEndState,
  77. double? borderStrokeAlign,
  78. double? borderRadius,
  79. ValueState<double>? borderRadiusState,
  80. double? borderRadiusBL,
  81. ValueState<double>? borderRadiusBLState,
  82. double? borderRadiusBR,
  83. ValueState<double>? borderRadiusBRState,
  84. double? borderRadiusTL,
  85. ValueState<double>? borderRadiusTLState,
  86. double? borderRadiusTR,
  87. ValueState<double>? borderRadiusTRState,
  88. bool indicatorVisible = false,
  89. double? margin,
  90. double? marginHorizontal,
  91. double? marginVertical,
  92. double? marginTop,
  93. double? marginBottom,
  94. double? marginStart,
  95. double? marginEnd,
  96. EdgeInsets? marginCustom,
  97. double? opacity,
  98. ValueState<double>? opacityState,
  99. bool opacityAlwaysIncludeSemantics = false,
  100. double? padding,
  101. double? paddingHorizontal,
  102. double? paddingVertical,
  103. double? paddingTop,
  104. double? paddingBottom,
  105. double? paddingStart,
  106. double? paddingEnd,
  107. EdgeInsets? paddingCustom,
  108. double? shadow,
  109. double? shadowBlurRadius,
  110. BlurStyle? shadowBlurStyle,
  111. Color? shadowColor,
  112. ViewShadowType? shadowType,
  113. double? shadowSpreadRadius,
  114. double? shadowHorizontal,
  115. double? shadowVertical,
  116. double? shadowStart,
  117. double? shadowEnd,
  118. double? shadowTop,
  119. double? shadowBottom,
  120. String? ellipsis,
  121. double? letterSpacing,
  122. double lineSpacingExtra = 0,
  123. Locale? locale,
  124. int maxCharacters = 0,
  125. int? maxLines,
  126. Color? selectionColor,
  127. String? semanticsLabel,
  128. bool? softWrap,
  129. StrutStyle? strutStyle,
  130. double? wordSpacing,
  131. String? text,
  132. ValueState<String>? textState,
  133. TextAlign? textAlign,
  134. bool textAllCaps = false,
  135. Color? textColor,
  136. ValueState<Color>? textColorState,
  137. TextDecoration? textDecoration,
  138. Color? textDecorationColor,
  139. TextDecorationStyle? textDecorationStyle,
  140. double? textDecorationThickness,
  141. TextDirection? textDirection,
  142. String? textFontFamily,
  143. FontStyle? textFontStyle,
  144. FontWeight? textFontWeight,
  145. ValueState<FontWeight>? textFontWeightState,
  146. TextHeightBehavior? textHeightBehavior,
  147. TextLeadingDistribution? textLeadingDistribution,
  148. TextOverflow? textOverflow,
  149. double? textSize,
  150. ValueState<double>? textSizeState,
  151. List<TextSpan> textSpans = const [],
  152. TextStyle? textStyle,
  153. ValueState<TextStyle>? textStyleState,
  154. TextWidthBasis textWidthBasis = TextWidthBasis.parent,
  155. double spaceBetween = 8,
  156. CheckboxAlignment checkboxAlignment = CheckboxAlignment.rightCenter,
  157. Color? primary,
  158. Color? activeColor,
  159. Color? checkColor,
  160. Color? fillColor,
  161. ValueState<Color>? fillColorState,
  162. Color? checkFocusColor,
  163. FocusNode? checkFocusNode,
  164. Color? checkHoverColor,
  165. bool checkAutofocus = false,
  166. bool isError = false,
  167. MaterialTapTargetSize materialTapTargetSize = MaterialTapTargetSize.shrinkWrap,
  168. MouseCursor? mouseCursor,
  169. double? splashRadius,
  170. bool tristate = false,
  171. VisualDensity? visualDensity,
  172. double checkboxRadius = 4,
  173. Color? checkboxStrokeColor,
  174. double checkboxStrokeSize = 2,
  175. int overlayOpacity = 20,
  176. bool checked = false,
})

Implementation

const CheckmarkView({
  /// 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.background,
  super.backgroundState,
  super.backgroundBlendMode,
  super.backgroundGradient,
  super.backgroundGradientState,
  super.backgroundImage,
  super.backgroundImageState,
  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,

  /// SUPER TEXT PROPERTIES
  super.ellipsis,
  super.letterSpacing,
  super.lineSpacingExtra,
  super.locale,
  super.maxCharacters,
  super.maxLines,
  super.selectionColor,
  super.semanticsLabel,
  super.softWrap,
  super.strutStyle,
  super.wordSpacing,
  super.text,
  super.textState,
  super.textAlign,
  super.textAllCaps,
  super.textColor,
  super.textColorState,
  super.textDecoration,
  super.textDecorationColor,
  super.textDecorationStyle,
  super.textDecorationThickness,
  super.textDirection,
  super.textFontFamily,
  super.textFontStyle,
  super.textFontWeight,
  super.textFontWeightState,
  super.textHeightBehavior,
  super.textLeadingDistribution,
  super.textOverflow,
  super.textSize,
  super.textSizeState,
  super.textSpans,
  super.textStyle,
  super.textStyleState,
  super.textWidthBasis,

  /// CHILD PROPERTIES
  this.spaceBetween = 8,
  this.checkboxAlignment = CheckboxAlignment.rightCenter,

  /// CHECK BOX PROPERTIES
  this.primary,
  this.activeColor,
  this.checkColor,
  this.fillColor,
  this.fillColorState,
  this.checkFocusColor,
  this.checkFocusNode,
  this.checkHoverColor,
  this.checkAutofocus = false,
  this.isError = false,
  this.materialTapTargetSize = MaterialTapTargetSize.shrinkWrap,
  this.mouseCursor,
  this.splashRadius,
  this.tristate = false,
  this.visualDensity,
  this.checkboxRadius = 4,
  this.checkboxStrokeColor,
  this.checkboxStrokeSize = 2,
  this.overlayOpacity = 20,
  bool checked = false,
}) : super(activated: checked);