copyWith method

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

Implementation

DefineMTileModifier copyWith({
  TextStyle? valueStyle,
  TextAlign? valueTextAlign,
  String? valueIcon,
  Widget? valueWidgetRight,
  Color? valueLabelColor,

  /// 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 DefineMTileModifier(
    valueStyle: valueStyle ?? this.valueStyle,
    valueTextAlign: valueTextAlign ?? this.valueTextAlign,
    valueIcon: valueIcon ?? this.valueIcon,
    valueWidgetRight: valueWidgetRight ?? this.valueWidgetRight,
    valueLabelColor: valueLabelColor ?? this.valueLabelColor,

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