copyWith method
StreamButtonThemeData
copyWith({
- StreamButtonTypeStyle? primary,
- StreamButtonTypeStyle? secondary,
- StreamButtonTypeStyle? destructive,
inherited
Implementation
StreamButtonThemeData copyWith({
StreamButtonTypeStyle? primary,
StreamButtonTypeStyle? secondary,
StreamButtonTypeStyle? destructive,
}) {
final _this = (this as StreamButtonThemeData);
return StreamButtonThemeData(
primary: primary ?? _this.primary,
secondary: secondary ?? _this.secondary,
destructive: destructive ?? _this.destructive,
);
}