copyWith method

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

Create a copyWith().

Implementation

DefineMRowModifier copyWith({
  List<Widget>? children,
  bool? valueReverse,
  CrossAxisAlignment? valueCrossAxisAlignment,
  MainAxisAlignment? valueMainAxisAlignment,

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

  /// Contents:
  EdgeInsets? valuePadding,
  EdgeInsets? valueMargin,
  GestureTapCallback? valueOnTap,
  GestureLongPressCallback? valueOnLongPress,
  GestureLongPressMoveUpdateCallback? valueOnLongPressMoveUpdate,
  GestureLongPressUpCallback? valueOnLongPressUp,
  VoidCallback? valueDragOutToStatusBar,
  Color? valueBackgroundColor,
  BorderRadius? 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 DefineMRowModifier(
    children: children ?? this.children,
    valueReverse: valueReverse ?? this.valueReverse,
    valueCrossAxisAlignment:
        valueCrossAxisAlignment ?? this.valueCrossAxisAlignment,
    valueMainAxisAlignment:
        valueMainAxisAlignment ?? this.valueMainAxisAlignment,

    /// The following properties are inherited from MGeneralModifier.
    /// 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,
  );
}