copyWith method

DefineMTextModifier copyWith({
  1. TextStyle? valueStyle,
  2. TextStyle? valueHighlightStyle,
  3. TextAlign? valueTextAlign,
  4. RegExp? valueHighlightRegExp,
  5. int? valueMaxLines,
  6. int? valueMaxLength,
  7. TextOverflow? valueOverflow,
  8. String? valueData,
  9. bool? valueSelectable,
  10. bool? valueLinkDisplay,
  11. List<MClickText>? valueClickTextTo,
  12. List<Linkifier>? valueLinkifiers,
  13. Key? valueKey,
  14. EdgeInsets? valuePadding,
  15. EdgeInsets? valueMargin,
  16. VoidCallback? valueOnTap,
  17. GestureLongPressCallback? valueOnLongPress,
  18. GestureLongPressMoveUpdateCallback? valueOnLongPressMoveUpdate,
  19. GestureLongPressUpCallback? valueOnLongPressUp,
  20. VoidCallback? valueDragOutToStatusBar,
  21. Color? valueBackgroundColor,
  22. BorderRadiusGeometry? valueBorderRadius,
  23. bool? valueCenterAlign,
  24. double? valueWidth,
  25. double? valueHeight,
  26. BoxShadow? valueShadow,
  27. Matrix4? valueTransform,
  28. BoxConstraints? valueConstraints,
  29. double? valueAspectRatio,
  30. int? valueFlex,
  31. bool? valueOutSizeFlex,
  32. String? valueHelp,
  33. double? valueOpacity,
  34. double? valueRotate,
  35. double? valueScale,
  36. Gradient? valueGradient,
  37. Border? valueBorder,
  38. BoxShape? valueShape,
  39. String? valueBackgroundImage,
  40. BoxFit? valueBackgroundImageFit,
  41. MGravity? valueGravity,
  42. Gradient? valueGradientBorder,
  43. double? valueFullWidth,
  44. double? valueFullHeight,
  45. AlignmentGeometry? valueContainerAlignment,
  46. AlignmentGeometry? valueOutSideAlignment,
  47. bool? valueCancelFocusWhenClick,
  48. Border? valueOutsideBorder,
  49. double? valueLeft,
  50. double? valueRight,
  51. double? valueTop,
  52. double? valueBottom,
  53. double? valueSigmaX,
  54. double? valueSigmaY,
  55. Color? valueMaskColor,
  56. MaterialType? valueMaterialType,
  57. double? valueMaterialElevation,
  58. bool? valueScrollable,
  59. ScrollController? valueScrollController,
  60. SafeArea? valueSafeArea,
  61. bool? valueVisible,
  62. int? valueTabLength,
  63. RxInterface? valueObxListener,
  64. Color? valueOutsideBackgroundColor,
  65. BorderRadiusGeometry? valueOutsideBorderRadius,
  66. Object? valueHeroTag,
})

Implementation

DefineMTextModifier copyWith({
  TextStyle? valueStyle,
  TextStyle? valueHighlightStyle,
  TextAlign? valueTextAlign,
  RegExp? valueHighlightRegExp,
  final int? valueMaxLines,
  final int? valueMaxLength,
  final TextOverflow? valueOverflow,
  String? valueData,
  bool? valueSelectable,
  bool? valueLinkDisplay,
  final List<MClickText>? valueClickTextTo,
  final List<Linkifier>? valueLinkifiers,

  /// The following properties are inherited from MGeneralModifier.
  /// Main.
  Key? valueKey,

  /// Contents:
  EdgeInsets? valuePadding,
  EdgeInsets? valueMargin,
  VoidCallback? valueOnTap,
  GestureLongPressCallback? valueOnLongPress,
  GestureLongPressMoveUpdateCallback? valueOnLongPressMoveUpdate,
  GestureLongPressUpCallback? valueOnLongPressUp,
  VoidCallback? valueDragOutToStatusBar,
  Color? valueBackgroundColor,
  BorderRadiusGeometry? valueBorderRadius,
  bool? valueCenterAlign,
  double? valueWidth,
  double? valueHeight,
  BoxShadow? valueShadow,
  Matrix4? valueTransform,
  BoxConstraints? valueConstraints,
  double? valueAspectRatio,
  int? valueFlex,
  bool? valueOutSizeFlex,
  String? valueHelp,
  double? valueOpacity,
  double? valueRotate,
  double? valueScale,
  Gradient? valueGradient,
  Border? valueBorder,
  BoxShape? valueShape,
  String? valueBackgroundImage,
  BoxFit? valueBackgroundImageFit,
  MGravity? valueGravity,
  Gradient? valueGradientBorder,
  double? valueFullWidth,
  double? valueFullHeight,
  AlignmentGeometry? valueContainerAlignment,
  AlignmentGeometry? valueOutSideAlignment,
  bool? valueCancelFocusWhenClick, Border? valueOutsideBorder,

  /// Position Widget
  double? valueLeft,
  double? valueRight,
  double? valueTop,
  double? valueBottom,

  /// Blur
  double? valueSigmaX,
  double? valueSigmaY,
  Color? valueMaskColor,

  /// Material
  MaterialType? valueMaterialType,
  double? valueMaterialElevation,

  /// Other
  bool? valueScrollable,
  ScrollController? valueScrollController,
  SafeArea? valueSafeArea,
  bool? valueVisible,
  int? valueTabLength,
  RxInterface? valueObxListener,
  Color? valueOutsideBackgroundColor,
  BorderRadiusGeometry? valueOutsideBorderRadius, Object? valueHeroTag,
}) {
  return DefineMTextModifier(
    valueStyle: valueStyle ?? this.valueStyle,
    valueHighlightStyle: valueHighlightStyle ?? this.valueHighlightStyle,
    valueTextAlign: valueTextAlign ?? this.valueTextAlign,
    valueHighlightRegExp: valueHighlightRegExp ?? this.valueHighlightRegExp,
    valueMaxLines: valueMaxLines ?? this.valueMaxLines,
    valueMaxLength: valueMaxLength ?? this.valueMaxLength,
    valueOverflow: valueOverflow ?? this.valueOverflow,
    valueData: valueData ?? this.valueData,
    valueSelectable: valueSelectable ?? this.valueSelectable,
    valueLinkDisplay: valueLinkDisplay ?? this.valueLinkDisplay,
    valueClickTextTo: valueClickTextTo ?? this.valueClickTextTo,
    valueLinkifiers: valueLinkifiers ?? this.valueLinkifiers,

    /// Main.
    valueKey: valueKey ?? this.valueKey,

    /// Contents:
    valuePadding: valuePadding ?? this.valuePadding,
    valueMargin: valueMargin ?? this.valueMargin,
    valueOnTap: valueOnTap ?? this.valueOnTap,
    valueOnLongPress: valueOnLongPress ?? this.valueOnLongPress,
    valueOnLongPressMoveUpdate:
        valueOnLongPressMoveUpdate ?? this.valueOnLongPressMoveUpdate,
    valueOnLongPressUp: valueOnLongPressUp ?? this.valueOnLongPressUp,
    valueDragOutToStatusBar:
        valueDragOutToStatusBar ?? this.valueDragOutToStatusBar,
    valueBackgroundColor: valueBackgroundColor ?? this.valueBackgroundColor,
    valueBorderRadius: valueBorderRadius ?? this.valueBorderRadius,
    valueCenterAlign: valueCenterAlign ?? this.valueCenterAlign,
    valueWidth: valueWidth ?? this.valueWidth,
    valueHeight: valueHeight ?? this.valueHeight,
    valueShadow: valueShadow ?? this.valueShadow,
    valueTransform: valueTransform ?? this.valueTransform,
    valueConstraints: valueConstraints ?? this.valueConstraints,
    valueAspectRatio: valueAspectRatio ?? this.valueAspectRatio,
    valueFlex: valueFlex ?? this.valueFlex,
    valueOutSizeFlex: valueOutSizeFlex ?? this.valueOutSizeFlex,
    valueHelp: valueHelp ?? this.valueHelp,
    valueOpacity: valueOpacity ?? this.valueOpacity,
    valueRotate: valueRotate ?? this.valueRotate,
    valueScale: valueScale ?? this.valueScale,
    valueGradient: valueGradient ?? this.valueGradient,
    valueBorder: valueBorder ?? this.valueBorder,
    valueShape: valueShape ?? this.valueShape,
    valueBackgroundImage: valueBackgroundImage ?? this.valueBackgroundImage,
    valueBackgroundImageFit:
        valueBackgroundImageFit ?? this.valueBackgroundImageFit,
    valueGravity: valueGravity ?? this.valueGravity,
    valueGradientBorder: valueGradientBorder ?? this.valueGradientBorder,
    valueFullWidth: valueFullWidth ?? this.valueFullWidth,
    valueFullHeight: valueFullHeight ?? this.valueFullHeight,
    valueContainerAlignment:
        valueContainerAlignment ?? this.valueContainerAlignment,
    valueOutSideAlignment:
        valueOutSideAlignment ?? this.valueOutSideAlignment,
    valueCancelFocusWhenClick:
        valueCancelFocusWhenClick ?? this.valueCancelFocusWhenClick,valueOutsideBorder:
        valueOutsideBorder ?? valueOutsideBorder,

    /// Position Widget
    valueLeft: valueLeft ?? this.valueLeft,
    valueRight: valueRight ?? this.valueRight,
    valueTop: valueTop ?? this.valueTop,
    valueBottom: valueBottom ?? this.valueBottom,

    // Blur
    valueSigmaX: valueSigmaX ?? this.valueSigmaX,
    valueSigmaY: valueSigmaY ?? this.valueSigmaY,
    valueMaskColor: valueMaskColor ?? this.valueMaskColor,

    // Material
    valueMaterialType: valueMaterialType ?? this.valueMaterialType,
    valueMaterialElevation:
        valueMaterialElevation ?? this.valueMaterialElevation,

    // Other
    valueScrollable: valueScrollable ?? this.valueScrollable,
    valueScrollController:
        valueScrollController ?? this.valueScrollController,
    valueSafeArea: valueSafeArea ?? this.valueSafeArea,
    valueVisible: valueVisible ?? this.valueVisible,
    valueTabLength: valueTabLength ?? this.valueTabLength,
    valueObxListener: valueObxListener ?? this.valueObxListener,
    valueOutsideBackgroundColor:
        valueOutsideBackgroundColor ?? this.valueOutsideBackgroundColor,
    valueOutsideBorderRadius:
        valueOutsideBorderRadius ?? this.valueOutsideBorderRadius, valueHeroTag: valueHeroTag ?? this.valueHeroTag,
  );
}