copyWith method

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

Create a copyWith().

Implementation

DefineMListViewModifier copyWith({
  bool? valueReverse,
  bool? valueAlignTop,
  bool? valueShrinkWrap,
  ScrollPhysics? valuePhysics,
  ScrollController? valueController,
  VoidCallback? valueOnScrollStop,
  Axis? valueScrollDirection,

  /// 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,
  SafeArea? valueSafeArea,
  bool? valueVisible,
  int? valueTabLength,
  RxInterface? valueObxListener,
  Color? valueOutsideBackgroundColor,
  BorderRadiusGeometry? valueOutsideBorderRadius, Object? valueHeroTag,
}) {
  return DefineMListViewModifier(
    valueReverse: valueReverse ?? this.valueReverse,
    valueAlignTop: valueAlignTop ?? this.valueAlignTop,
    valueShrinkWrap: valueShrinkWrap ?? this.valueShrinkWrap,
    valuePhysics: valuePhysics ?? this.valuePhysics,
    valueController: valueController ?? this.valueController,
    valueOnScrollStop: valueOnScrollStop ?? this.valueOnScrollStop,
    valueScrollDirection: valueScrollDirection ?? this.valueScrollDirection,

    /// 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,

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