ClickableContainer constructor

ClickableContainer({
  1. Key? key,
  2. void onTap()?,
  3. void onDoubleTap()?,
  4. void onLongPress()?,
  5. void onTapDown(
    1. TapDownDetails
    )?,
  6. void onTapUp(
    1. TapUpDetails
    )?,
  7. void onTapCancel()?,
  8. void onHighlightChanged(
    1. bool
    )?,
  9. void onHover(
    1. bool
    )?,
  10. MouseCursor? mouseCursor,
  11. Color? focusColor,
  12. Color? hoverColor,
  13. Color? highlightColor,
  14. MaterialStateProperty<Color?>? overlayColor,
  15. Color? splashColor,
  16. InteractiveInkFeatureFactory? splashFactory,
  17. double? radius,
  18. BorderRadius? borderRadius,
  19. ShapeBorder? customBorder,
  20. bool? enableFeedback = true,
  21. bool excludeFromSemantics = false,
  22. FocusNode? focusNode,
  23. bool canRequestFocus = true,
  24. void onFocusChange(
    1. bool
    )?,
  25. bool autofocus = false,
  26. Key? containerKey,
  27. AlignmentGeometry? alignment,
  28. EdgeInsetsGeometry? padding,
  29. Color? color,
  30. Decoration? decoration,
  31. Decoration? foregroundDecoration,
  32. double? width,
  33. double? height,
  34. BoxConstraints? constraints,
  35. EdgeInsetsGeometry? margin,
  36. Matrix4? transform,
  37. AlignmentGeometry? transformAlignment,
  38. Widget? child,
  39. Clip clipBehavior = Clip.none,
})

Implementation

ClickableContainer({
  Key? key,
  void Function()? onTap,
  void Function()? onDoubleTap,
  void Function()? onLongPress,
  void Function(TapDownDetails)? onTapDown,
  void Function(TapUpDetails)? onTapUp,
  void Function()? onTapCancel,
  void Function(bool)? onHighlightChanged,
  void Function(bool)? onHover,
  MouseCursor? mouseCursor,
  Color? focusColor,
  Color? hoverColor,
  Color? highlightColor,
  MaterialStateProperty<Color?>? overlayColor,
  Color? splashColor,
  InteractiveInkFeatureFactory? splashFactory,
  double? radius,
  BorderRadius? borderRadius,
  ShapeBorder? customBorder,
  bool? enableFeedback = true,
  bool excludeFromSemantics = false,
  FocusNode? focusNode,
  bool canRequestFocus = true,
  void Function(bool)? onFocusChange,
  bool autofocus = false,

  ///
  ///
  Key? containerKey,
  AlignmentGeometry? alignment,
  EdgeInsetsGeometry? padding,
  Color? color,
  Decoration? decoration,
  Decoration? foregroundDecoration,
  double? width,
  double? height,
  BoxConstraints? constraints,
  EdgeInsetsGeometry? margin,
  Matrix4? transform,
  AlignmentGeometry? transformAlignment,
  Widget? child,
  Clip clipBehavior = Clip.none,
}) : super(
        key: key,
        autofocus: autofocus,
        borderRadius: borderRadius,
        canRequestFocus: canRequestFocus,
        customBorder: customBorder,
        enableFeedback: enableFeedback,
        excludeFromSemantics: excludeFromSemantics,
        focusColor: focusColor,
        focusNode: focusNode,
        highlightColor: highlightColor,
        hoverColor: hoverColor,
        mouseCursor: mouseCursor,
        onDoubleTap: onDoubleTap,
        onFocusChange: onFocusChange,
        onHighlightChanged: onHighlightChanged,
        onHover: onHover,
        onLongPress: onLongPress,
        onTap: onTap,
        onTapCancel: onTapCancel,
        onTapDown: onTapDown,
        onTapUp: onTapUp,
        overlayColor: overlayColor,
        radius: radius,
        splashColor: splashColor,
        splashFactory: splashFactory,
        child: Container(
          key: containerKey,
          alignment: alignment,
          child: child,
          clipBehavior: clipBehavior,
          color: color,
          constraints: constraints,
          decoration: decoration,
          foregroundDecoration: foregroundDecoration,
          height: height,
          margin: margin,
          padding: padding,
          transform: transform,
          transformAlignment: transformAlignment,
          width: width,
        ),
      );