copyWith method

  1. @override
YaruBackButtonThemeData copyWith({
  1. YaruBackButtonStyle? style,
})
override

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

Implementation

@override
YaruBackButtonThemeData copyWith({
  YaruBackButtonStyle? style,
}) {
  return YaruBackButtonThemeData(
    style: style ?? this.style,
  );
}