TextExtend constructor

const TextExtend(
  1. String data, {
  2. ValueChanged<bool>? onHover,
  3. bool enabledOnHover = true,
  4. TextStyle? style,
  5. TextStyle? onHoverStyle,
  6. bool isSelectable = false,
  7. Widget? suffix,
  8. Widget? prefix,
  9. Widget? onHoverSuffix,
  10. Widget? onHoverPrefix,
  11. double? width,
  12. double? height,
  13. BuildCustomChild? buildCustomChild,
  14. WrapperChild? wrapperChild,
  15. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  16. MainAxisSize mainAxisSize = MainAxisSize.max,
  17. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  18. TextDirection? textDirection,
  19. VerticalDirection verticalDirection = VerticalDirection.down,
  20. TextBaseline? textBaseline,
  21. AlignmentGeometry? alignment,
  22. EdgeInsetsGeometry? padding,
  23. Color? color,
  24. Decoration? decoration,
  25. Decoration? foregroundDecoration,
  26. BoxConstraints? constraints,
  27. EdgeInsetsGeometry? margin,
  28. Matrix4? transform,
  29. AlignmentGeometry? transformAlignment,
  30. AlignmentGeometry? onHoverAlignment,
  31. EdgeInsetsGeometry? onHoverPadding,
  32. Color? onHoverColor,
  33. Decoration? onHoverDecoration,
  34. Decoration? onHoverForegroundDecoration,
  35. BoxConstraints? onHoverConstraints,
  36. EdgeInsetsGeometry? onHoverMargin,
  37. Matrix4? onHoverTransform,
  38. AlignmentGeometry? onHoverTransformAlignment,
  39. GestureTapCallback? onTap,
  40. GestureTapDownCallback? onTapDown,
  41. GestureTapUpCallback? onTapUp,
  42. GestureTapCallback? onTapCancel,
  43. GestureTapCallback? onDoubleTap,
  44. GestureLongPressCallback? onLongPress,
  45. GestureTapCallback? onSecondaryTap,
  46. GestureTapDownCallback? onSecondaryTapDown,
  47. GestureTapUpCallback? onSecondaryTapUp,
  48. GestureTapCallback? onSecondaryTapCancel,
  49. ValueChanged<bool>? onHighlightChanged,
  50. MouseCursor? mouseCursor,
  51. bool containedInkWell = false,
  52. BoxShape highlightShape = BoxShape.circle,
  53. double? radius,
  54. BorderRadius? borderRadius,
  55. ShapeBorder? customBorder,
  56. Color? focusColor,
  57. Color? hoverColor,
  58. Color? highlightColor,
  59. MaterialStateProperty<Color?>? overlayColor,
  60. Color? splashColor,
  61. InteractiveInkFeatureFactory? splashFactory,
  62. bool enableFeedback = true,
  63. bool excludeFromSemantics = false,
  64. FocusNode? focusNode,
  65. bool canRequestFocus = true,
  66. ValueChanged<bool>? onFocusChange,
  67. bool autofocus = false,
  68. Key? key,
})

Implementation

const TextExtend(this.data,
    {this.onHover,
    this.enabledOnHover = true,
    this.style,
    this.onHoverStyle,
    this.isSelectable = false,
    this.suffix,
    this.prefix,
    this.onHoverSuffix,
    this.onHoverPrefix,
    this.width,
    this.height,
    this.buildCustomChild,
    this.wrapperChild,
    this.mainAxisAlignment=MainAxisAlignment.start,
    this.mainAxisSize = MainAxisSize.max,
    this.crossAxisAlignment = CrossAxisAlignment.center,
    this.textDirection,
    this.verticalDirection = VerticalDirection.down,
    this.textBaseline,
    this.alignment,
    this.padding,
    this.color,
    this.decoration,
    this.foregroundDecoration,
    this.constraints,
    this.margin,
    this.transform,
    this.transformAlignment,
    this.onHoverAlignment,
    this.onHoverPadding,
    this.onHoverColor,
    this.onHoverDecoration,
    this.onHoverForegroundDecoration,
    this.onHoverConstraints,
    this.onHoverMargin,
    this.onHoverTransform,
    this.onHoverTransformAlignment,
    this.onTap,
    this.onTapDown,
    this.onTapUp,
    this.onTapCancel,
    this.onDoubleTap,
    this.onLongPress,
    this.onSecondaryTap,
    this.onSecondaryTapDown,
    this.onSecondaryTapUp,
    this.onSecondaryTapCancel,
    this.onHighlightChanged,
    this.mouseCursor,
    this.containedInkWell = false,
    this.highlightShape = BoxShape.circle,
    this.radius,
    this.borderRadius,
    this.customBorder,
    this.focusColor,
    this.hoverColor,
    this.highlightColor,
    this.overlayColor,
    this.splashColor,
    this.splashFactory,
    this.enableFeedback = true,
    this.excludeFromSemantics = false,
    this.focusNode,
    this.canRequestFocus = true,
    this.onFocusChange,
    this.autofocus = false,
    Key? key})
    : super(key: key);