copyWith method

OverlayLayerOptions copyWith({
  1. int? alpha,
  2. FilterQuality? filterQuality,
  3. int? zIndex,
  4. bool? showActiveOutline,
  5. Color? activeOutlineColor,
  6. double? activeOutlineWidth,
})

Implementation

OverlayLayerOptions copyWith({
  int? alpha,
  FilterQuality? filterQuality,
  int? zIndex,
  bool? showActiveOutline,
  Color? activeOutlineColor,
  double? activeOutlineWidth,
}) {
  return OverlayLayerOptions(
    alpha: alpha ?? this.alpha,
    filterQuality: filterQuality ?? this.filterQuality,
    zIndex: zIndex ?? this.zIndex,
    showActiveOutline: showActiveOutline ?? this.showActiveOutline,
    activeOutlineColor: activeOutlineColor ?? this.activeOutlineColor,
    activeOutlineWidth: activeOutlineWidth ?? this.activeOutlineWidth,
  );
}