copyWith method
LMChatBottomSheetStyle
copyWith({
- Color? backgroundColor,
- BorderRadiusGeometry? borderRadius,
- double? height,
- double? elevation,
- EdgeInsets? padding,
- EdgeInsets? margin,
- List<
BoxShadow> ? boxShadow, - Widget? dragBar,
- Color? dragBarColor,
- LMChatTextStyle? titleStyle,
Implementation
LMChatBottomSheetStyle copyWith({
Color? backgroundColor,
BorderRadiusGeometry? borderRadius,
double? height,
double? elevation,
EdgeInsets? padding,
EdgeInsets? margin,
List<BoxShadow>? boxShadow,
Widget? dragBar,
Color? dragBarColor,
LMChatTextStyle? titleStyle,
}) {
return LMChatBottomSheetStyle(
titleStyle: titleStyle ?? this.titleStyle,
backgroundColor: backgroundColor ?? this.backgroundColor,
borderRadius: borderRadius ?? this.borderRadius,
height: height ?? this.height,
elevation: elevation ?? this.elevation,
padding: padding ?? this.padding,
margin: margin ?? this.margin,
boxShadow: boxShadow ?? this.boxShadow,
dragBar: dragBar ?? this.dragBar,
dragBarColor: dragBarColor ?? this.dragBarColor,
);
}