copyWith method

DialogTheme copyWith ({ShapeBorder shape })

Creates a copy of this object but with the given fields replaced with the new values.

Implementation

DialogTheme copyWith({ ShapeBorder shape }) {
  return DialogTheme(shape: shape ?? this.shape);
}