copyWith method

GalleryDetailConfig copyWith({
  1. BaseTextStyle? appbarTitleStyle,
  2. BaseTextStyle? appbarActionStyle,
  3. Color? appbarBackgroundColor,
  4. AppBarConfig? appbarConfig,
  5. BaseTextStyle? tabBarUnSelectedLabelStyle,
  6. Color? tabBarUnselectedLabelColor,
  7. BaseTextStyle? tabBarLabelStyle,
  8. Color? tabBarLabelColor,
  9. Color? tabBarBackgroundColor,
  10. Color? indicatorColor,
  11. Color? pageBackgroundColor,
  12. Color? bottomBackgroundColor,
  13. BaseTextStyle? titleStyle,
  14. BaseTextStyle? contentStyle,
  15. BaseTextStyle? actionStyle,
  16. 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,
  );
}