copyWith method

CustomDialogStyle copyWith({
  1. BoxConstraints? constraints,
  2. EdgeInsetsGeometry? contentPadding,
})

Implementation

CustomDialogStyle copyWith({
  BoxConstraints? constraints,
  EdgeInsetsGeometry? contentPadding,
}) {
  return CustomDialogStyle(
    constraints: constraints ?? this.constraints,
    contentPadding: contentPadding ?? this.contentPadding,
  );
}