copyWith method
GalleryDetailConfig
copyWith({
- BaseTextStyle? appbarTitleStyle,
- BaseTextStyle? appbarActionStyle,
- Color? appbarBackgroundColor,
- AppBarConfig? appbarConfig,
- BaseTextStyle? tabBarUnSelectedLabelStyle,
- Color? tabBarUnselectedLabelColor,
- BaseTextStyle? tabBarLabelStyle,
- Color? tabBarLabelColor,
- Color? tabBarBackgroundColor,
- Color? indicatorColor,
- Color? pageBackgroundColor,
- Color? bottomBackgroundColor,
- BaseTextStyle? titleStyle,
- BaseTextStyle? contentStyle,
- BaseTextStyle? actionStyle,
- Color? iconColor,
Implementation
GalleryDetailConfig copyWith({
BaseTextStyle? appbarTitleStyle,
BaseTextStyle? appbarActionStyle,
Color? appbarBackgroundColor,
phoenix.AppBarConfig? appbarConfig,
BaseTextStyle? tabBarUnSelectedLabelStyle,
Color? tabBarUnselectedLabelColor,
BaseTextStyle? tabBarLabelStyle,
Color? tabBarLabelColor,
Color? tabBarBackgroundColor,
Color? indicatorColor,
Color? pageBackgroundColor,
Color? bottomBackgroundColor,
BaseTextStyle? titleStyle,
BaseTextStyle? contentStyle,
BaseTextStyle? actionStyle,
Color? iconColor,
}) {
return GalleryDetailConfig(
appbarTitleStyle: appbarTitleStyle ?? _appbarTitleStyle,
appbarActionStyle: appbarActionStyle ?? _appbarActionStyle,
appbarBackgroundColor: appbarBackgroundColor ?? _appbarBackgroundColor,
appbarConfig: appbarConfig ?? _appbarConfig,
tabBarUnSelectedLabelStyle:
tabBarUnSelectedLabelStyle ?? _tabBarUnSelectedLabelStyle,
tabBarLabelStyle: tabBarLabelStyle ?? _tabBarLabelStyle,
tabBarBackgroundColor: tabBarBackgroundColor ?? _tabBarBackgroundColor,
pageBackgroundColor: pageBackgroundColor ?? _pageBackgroundColor,
bottomBackgroundColor: bottomBackgroundColor ?? _bottomBackgroundColor,
titleStyle: titleStyle ?? _titleStyle,
contentStyle: contentStyle ?? _contentStyle,
actionStyle: actionStyle ?? _actionStyle,
iconColor: iconColor ?? _iconColor,
);
}