copyWith method

DefineMImageModifier copyWith({
  1. BoxFit? valueFit,
  2. double? valueImageWidth,
  3. double? valueImageHeight,
  4. Color? valueImageColor,
  5. Color? valueImageBackgroundColor,
  6. String? valueImgError,
  7. BoxFit? valueImgErrorFit,
  8. String? valueImgLoading,
  9. BoxFit? valueImgLoadingFit,
  10. Widget? valueImageWhenErrorWidget,
  11. Widget? valueImageWhenLoadingWidget,
  12. String? valuePackage,
  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

DefineMImageModifier copyWith({
  BoxFit? valueFit,
  double? valueImageWidth,
  double? valueImageHeight,
  Color? valueImageColor,
  Color? valueImageBackgroundColor,
  String? valueImgError,
  BoxFit? valueImgErrorFit,
  String? valueImgLoading,
  BoxFit? valueImgLoadingFit,
  Widget? valueImageWhenErrorWidget,
  Widget? valueImageWhenLoadingWidget,
  String? valuePackage,

  /// 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 DefineMImageModifier(
    valueFit: valueFit ?? this.valueFit,
    valueImageWidth: valueImageWidth ?? this.valueImageWidth,
    valueImageHeight: valueImageWidth ?? this.valueImageHeight,
    valueImageColor: valueImageColor ?? this.valueImageColor,
    valueImageBackgroundColor:
        valueImageBackgroundColor ?? this.valueImageBackgroundColor,
    valueImgError: valueImgError ?? this.valueImgError,
    valueImgErrorFit: valueImgErrorFit ?? this.valueImgErrorFit,
    valueImgLoading: valueImgLoading ?? this.valueImgLoading,
    valueImgLoadingFit: valueImgLoadingFit ?? this.valueImgLoadingFit,
    valueImageWhenErrorWidget:
        valueImageWhenErrorWidget ?? this.valueImageWhenErrorWidget,
    valueImageWhenLoadingWidget:
        valueImageWhenLoadingWidget ?? this.valueImageWhenLoadingWidget,
    valuePackage: valuePackage ?? this.valuePackage,

    /// 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,
  );
}