copyWith method
PdfActionBarTheme
copyWith({
- Color? backgroundColor,
- Color? iconColor,
- double? height,
- TextStyle? textStyle,
- double? elevation,
- double? actionSpacing,
- WrapAlignment? alignment,
- WrapAlignment? runAlignment,
- WrapCrossAlignment? crossAxisAlignment,
Creates a copy of this object but with the given fields replaced with the new values.
Implementation
PdfActionBarTheme copyWith({
Color? backgroundColor,
Color? iconColor,
double? height,
TextStyle? textStyle,
double? elevation,
double? actionSpacing,
WrapAlignment? alignment,
WrapAlignment? runAlignment,
WrapCrossAlignment? crossAxisAlignment,
}) {
return PdfActionBarTheme(
backgroundColor: backgroundColor ?? this.backgroundColor,
iconColor: iconColor ?? this.iconColor,
height: height ?? this.height,
textStyle: textStyle ?? this.textStyle,
elevation: elevation ?? this.elevation,
actionSpacing: actionSpacing ?? this.actionSpacing,
alignment: alignment ?? this.alignment,
runAlignment: runAlignment ?? this.runAlignment,
crossAxisAlignment: crossAxisAlignment ?? this.crossAxisAlignment,
);
}