copyWith method

DefineMTextFieldModifier copyWith({
  1. InputDecoration? decorationValue,
  2. TextStyle? valueStyle,
  3. bool? valueExpands,
  4. int? maxLinesValue,
  5. int? valueMaxLength,
  6. bool? valueAutoFocus,
  7. ValueChanged<String>? valueOnSubmitted,
  8. TextInputType? valueKeyboardType,
  9. List<TextInputFormatter>? valueInputFormatters,
  10. TextInputAction? valueTextInputAction,
  11. FocusNode? valueFocusNode,
  12. VoidCallback? valueOnEditingComplete,
  13. TextAlign? valueTextAlign,
  14. bool? valueEnable,
  15. bool? valueFilled,
  16. Color? valueFillColor,
  17. EdgeInsets? valueScrollPadding,
  18. InputBorder? valueInputBorder,
  19. bool? valueCanRequestFocus,
  20. bool? valueReadOnly,
  21. bool? valueShowCursor,
  22. ScrollController? valueScrollController,
  23. Widget? valueRightWidget,
  24. bool? valueAlwaysShowRightWidget,
  25. Widget? valueLeading,
  26. TextAlignVertical? valueTextAlignVertical,
  27. Key? valueKey,
  28. EdgeInsets? valuePadding,
  29. EdgeInsets? valueMargin,
  30. GestureTapCallback? valueOnTap,
  31. GestureLongPressCallback? valueOnLongPress,
  32. GestureLongPressMoveUpdateCallback? valueOnLongPressMoveUpdate,
  33. GestureLongPressUpCallback? valueOnLongPressUp,
  34. VoidCallback? valueDragOutToStatusBar,
  35. Color? valueBackgroundColor,
  36. BorderRadius? valueBorderRadius,
  37. bool? valueCenterAlign,
  38. double? valueWidth,
  39. double? valueHeight,
  40. BoxShadow? valueShadow,
  41. Matrix4? valueTransform,
  42. BoxConstraints? valueConstraints,
  43. double? valueAspectRatio,
  44. int? valueFlex,
  45. bool? valueOutSizeFlex,
  46. String? valueHelp,
  47. double? valueOpacity,
  48. double? valueRotate,
  49. double? valueScale,
  50. Gradient? valueGradient,
  51. Border? valueBorder,
  52. BoxShape? valueShape,
  53. String? valueBackgroundImage,
  54. BoxFit? valueBackgroundImageFit,
  55. MGravity? valueGravity,
  56. Gradient? valueGradientBorder,
  57. double? valueFullWidth,
  58. double? valueFullHeight,
  59. AlignmentGeometry? valueContainerAlignment,
  60. AlignmentGeometry? valueOutSideAlignment,
  61. bool? valueCancelFocusWhenClick,
  62. Border? valueOutsideBorder,
  63. double? valueLeft,
  64. double? valueRight,
  65. double? valueTop,
  66. double? valueBottom,
  67. double? valueSigmaX,
  68. double? valueSigmaY,
  69. Color? valueMaskColor,
  70. MaterialType? valueMaterialType,
  71. double? valueMaterialElevation,
  72. bool? valueScrollable,
  73. SafeArea? valueSafeArea,
  74. bool? valueVisible,
  75. int? valueTabLength,
  76. RxInterface? valueObxListener,
  77. Color? valueOutsideBackgroundColor,
  78. BorderRadiusGeometry? valueOutsideBorderRadius,
  79. Object? valueHeroTag,
})

Create a copyWith().

Implementation

DefineMTextFieldModifier copyWith({
  final InputDecoration? decorationValue,
  final TextStyle? valueStyle,
  final bool? valueExpands,
  final int? maxLinesValue,
  final int? valueMaxLength,
  final bool? valueAutoFocus,
  final ValueChanged<String>? valueOnSubmitted,
  final TextInputType? valueKeyboardType,
  final List<TextInputFormatter>? valueInputFormatters,
  final TextInputAction? valueTextInputAction,
  final FocusNode? valueFocusNode,
  final VoidCallback? valueOnEditingComplete,
  final TextAlign? valueTextAlign,
  final bool? valueEnable,
  final bool? valueFilled,
  final Color? valueFillColor,
  final EdgeInsets? valueScrollPadding,
  final InputBorder? valueInputBorder,
  final bool? valueCanRequestFocus,
  final bool? valueReadOnly,
  final bool? valueShowCursor,
  final ScrollController? valueScrollController,
  final Widget? valueRightWidget,
  final bool? valueAlwaysShowRightWidget,
  final Widget? valueLeading,
  final TextAlignVertical? valueTextAlignVertical,

  /// 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 DefineMTextFieldModifier(
    decorationValue: decorationValue ?? this.decorationValue,
    valueStyle: valueStyle ?? this.valueStyle,
    valueExpands: valueExpands ?? this.valueExpands,
    maxLinesValue: maxLinesValue ?? this.maxLinesValue,
    valueMaxLength: valueMaxLength ?? this.valueMaxLength,
    valueAutoFocus: valueAutoFocus ?? this.valueAutoFocus,
    valueOnSubmitted: valueOnSubmitted ?? this.valueOnSubmitted,
    valueKeyboardType: valueKeyboardType ?? this.valueKeyboardType,
    valueInputFormatters: valueInputFormatters ?? this.valueInputFormatters,
    valueTextInputAction: valueTextInputAction ?? this.valueTextInputAction,
    valueOnEditingComplete:
        valueOnEditingComplete ?? this.valueOnEditingComplete,
    valueTextAlign: valueTextAlign ?? this.valueTextAlign,
    valueEnable: valueEnable ?? this.valueEnable,
    valueFilled: valueFilled ?? this.valueFilled,
    valueFillColor: valueFillColor ?? this.valueFillColor,
    valueScrollPadding: valueScrollPadding ?? this.valueScrollPadding,
    valueInputBorder: valueInputBorder ?? this.valueInputBorder,
    valueCanRequestFocus: valueCanRequestFocus ?? this.valueCanRequestFocus,
    valueReadOnly: valueReadOnly ?? this.valueReadOnly,
    valueShowCursor: valueShowCursor ?? this.valueShowCursor,
    valueScrollController:
        valueScrollController ?? this.valueScrollController,
    valueRightWidget: valueRightWidget ?? this.valueRightWidget,
    valueAlwaysShowRightWidget:
        valueAlwaysShowRightWidget ?? this.valueAlwaysShowRightWidget,
    valueLeading: valueLeading ?? this.valueLeading,
    valueTextAlignVertical:
        valueTextAlignVertical ?? this.valueTextAlignVertical,

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