copyWith method
MutedButtonTheme
copyWith({
- ButtonStatePropertyDelegate<
Decoration> ? decoration, - ButtonStatePropertyDelegate<
MouseCursor> ? mouseCursor, - ButtonStatePropertyDelegate<
EdgeInsetsGeometry> ? padding, - ButtonStatePropertyDelegate<
TextStyle> ? textStyle, - ButtonStatePropertyDelegate<
IconThemeData> ? iconTheme, - ButtonStatePropertyDelegate<
EdgeInsetsGeometry> ? margin,
Implementation
MutedButtonTheme copyWith({
ButtonStatePropertyDelegate<Decoration>? decoration,
ButtonStatePropertyDelegate<MouseCursor>? mouseCursor,
ButtonStatePropertyDelegate<EdgeInsetsGeometry>? padding,
ButtonStatePropertyDelegate<TextStyle>? textStyle,
ButtonStatePropertyDelegate<IconThemeData>? iconTheme,
ButtonStatePropertyDelegate<EdgeInsetsGeometry>? margin,
}) {
return MutedButtonTheme(
decoration: decoration ?? this.decoration,
mouseCursor: mouseCursor ?? this.mouseCursor,
padding: padding ?? this.padding,
textStyle: textStyle ?? this.textStyle,
iconTheme: iconTheme ?? this.iconTheme,
margin: margin ?? this.margin,
);
}