copyWith method

ModalWindowsOptions copyWith({
  1. GestureTapCallback? onTap,
  2. HitTestBehavior? behavior,
  3. Color? color,
  4. bool? ignoring,
  5. bool? absorbing,
  6. bool? addMaterial,
  7. ImageFilter? filter,
  8. bool? gaussian,
  9. double? fuzzyDegree,
  10. double? left,
  11. double? top,
  12. double? right,
  13. double? bottom,
  14. AlignmentGeometry? alignment,
  15. MainAxisAlignment? mainAxisAlignment,
  16. CrossAxisAlignment? crossAxisAlignment,
  17. Axis? direction,
  18. MainAxisSize? mainAxisSize,
  19. bool? isScroll,
  20. bool? isStack,
  21. BoxConstraints? constraints,
})

Implementation

ModalWindowsOptions copyWith({
  GestureTapCallback? onTap,
  HitTestBehavior? behavior,
  Color? color,
  bool? ignoring,
  bool? absorbing,
  bool? addMaterial,
  ImageFilter? filter,
  bool? gaussian,
  double? fuzzyDegree,
  double? left,
  double? top,
  double? right,
  double? bottom,
  AlignmentGeometry? alignment,
  MainAxisAlignment? mainAxisAlignment,
  CrossAxisAlignment? crossAxisAlignment,
  Axis? direction,
  MainAxisSize? mainAxisSize,
  bool? isScroll,
  bool? isStack,
  BoxConstraints? constraints,
}) =>
    ModalWindowsOptions(
        constraints: constraints ?? this.constraints,
        onTap: onTap ?? this.onTap,
        behavior: behavior ?? this.behavior,
        color: color ?? this.color,
        ignoring: ignoring ?? this.ignoring,
        absorbing: absorbing ?? this.absorbing,
        addMaterial: addMaterial ?? this.addMaterial,
        filter: filter ?? this.filter,
        gaussian: gaussian ?? this.gaussian,
        fuzzyDegree: fuzzyDegree ?? this.fuzzyDegree,
        left: left ?? this.left,
        top: top ?? this.top,
        right: right ?? this.right,
        bottom: bottom ?? this.bottom,
        alignment: alignment ?? this.alignment,
        mainAxisAlignment: mainAxisAlignment ?? this.mainAxisAlignment,
        crossAxisAlignment: crossAxisAlignment ?? this.crossAxisAlignment,
        direction: direction ?? this.direction,
        mainAxisSize: mainAxisSize ?? this.mainAxisSize,
        isScroll: isScroll ?? this.isScroll,
        isStack: isStack ?? this.isStack);