copyWith method

DialogConfigs copyWith({
  1. DialogWidgets? widgets,
  2. DialogStyle? style,
})

Creates a copy of this configuration with the specified overrides.

Implementation

DialogConfigs copyWith({
  DialogWidgets? widgets,
  DialogStyle? style,
}) {
  return DialogConfigs(
    widgets: widgets ?? this.widgets,
    style: style ?? this.style,
  );
}