copyWith method
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,
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);