copyWith method
NomoAppBar
copyWith({
- Widget? title,
- Widget? leading,
- Widget? trailling,
- double? spacing,
- Color? backgroundColor,
- BorderRadiusGeometry? borderRadius,
- PreferredSizeWidget? bottom,
- double? topInset,
- double? height,
- double? elevation,
Implementation
NomoAppBar copyWith({
Widget? title,
Widget? leading,
Widget? trailling,
double? spacing,
Color? backgroundColor,
BorderRadiusGeometry? borderRadius,
PreferredSizeWidget? bottom,
double? topInset,
double? height,
double? elevation,
}) {
return NomoAppBar(
title: title ?? this.title,
leading: leading ?? this.leading,
trailling: trailling ?? this.trailling,
spacing: spacing ?? this.spacing,
backgroundColor: backgroundColor ?? this.backgroundColor,
borderRadius: borderRadius ?? this.borderRadius,
bottom: bottom ?? this.bottom,
topInset: topInset ?? this.topInset,
height: height ?? this.height,
elevation: elevation ?? this.elevation,
);
}