copyWith method

MonaStyleAttributesEntity copyWith({
  1. String? documentID,
  2. String? appId,
  3. BackgroundEntity? formBackground,
  4. BackgroundEntity? appBackground,
  5. RgbEntity? formGroupTitleColor,
  6. RgbEntity? formFieldTextColor,
  7. RgbEntity? formFieldHeaderColor,
  8. RgbEntity? formFieldFocusColor,
  9. BackgroundEntity? listBackground,
  10. RgbEntity? listTextItemColor,
  11. RgbEntity? floatingButtonForegroundColor,
  12. RgbEntity? floatingButtonBackgroundColor,
  13. RgbEntity? dividerColor,
  14. BackgroundEntity? topicContainerBackground,
  15. BackgroundEntity? actionContainerBackground,
  16. BackgroundEntity? appBarBG,
  17. RgbEntity? appBarIconColor,
  18. RgbEntity? appBarSelectedIconColor,
  19. RgbEntity? appBarMenuBackgroundColor,
  20. BackgroundEntity? bottomNavigationBarBG,
  21. BackgroundEntity? drawerBG,
  22. BackgroundEntity? drawerHeaderBG,
  23. BackgroundEntity? profileDrawerBG,
  24. BackgroundEntity? profileDrawerHeaderBG,
  25. RgbEntity? backgroundColorHomeMenu,
  26. FontEntity? h1,
  27. FontEntity? h2,
  28. FontEntity? h3,
  29. FontEntity? h4,
  30. FontEntity? h5,
  31. FontEntity? textFieldHeader,
  32. FontEntity? fontText,
  33. FontEntity? fontSmallText,
  34. FontEntity? fontHighlight1,
  35. FontEntity? fontHighlight2,
  36. FontEntity? fontLink,
  37. int? routeBuilder,
  38. int? routeAnimationDuration,
  39. RgbEntity? dialogBackgroundColor,
  40. RgbEntity? dialogSeperatorColor,
  41. RgbEntity? popupMenuButtonColor,
  42. RgbEntity? textBubbleBackgroundColor,
  43. RgbEntity? dropdownButtonnColor,
  44. RgbEntity? listTileColor,
})

Implementation

MonaStyleAttributesEntity copyWith({
  String? documentID,
  String? appId,
  BackgroundEntity? formBackground,
  BackgroundEntity? appBackground,
  RgbEntity? formGroupTitleColor,
  RgbEntity? formFieldTextColor,
  RgbEntity? formFieldHeaderColor,
  RgbEntity? formFieldFocusColor,
  BackgroundEntity? listBackground,
  RgbEntity? listTextItemColor,
  RgbEntity? floatingButtonForegroundColor,
  RgbEntity? floatingButtonBackgroundColor,
  RgbEntity? dividerColor,
  BackgroundEntity? topicContainerBackground,
  BackgroundEntity? actionContainerBackground,
  BackgroundEntity? appBarBG,
  RgbEntity? appBarIconColor,
  RgbEntity? appBarSelectedIconColor,
  RgbEntity? appBarMenuBackgroundColor,
  BackgroundEntity? bottomNavigationBarBG,
  BackgroundEntity? drawerBG,
  BackgroundEntity? drawerHeaderBG,
  BackgroundEntity? profileDrawerBG,
  BackgroundEntity? profileDrawerHeaderBG,
  RgbEntity? backgroundColorHomeMenu,
  FontEntity? h1,
  FontEntity? h2,
  FontEntity? h3,
  FontEntity? h4,
  FontEntity? h5,
  FontEntity? textFieldHeader,
  FontEntity? fontText,
  FontEntity? fontSmallText,
  FontEntity? fontHighlight1,
  FontEntity? fontHighlight2,
  FontEntity? fontLink,
  int? routeBuilder,
  int? routeAnimationDuration,
  RgbEntity? dialogBackgroundColor,
  RgbEntity? dialogSeperatorColor,
  RgbEntity? popupMenuButtonColor,
  RgbEntity? textBubbleBackgroundColor,
  RgbEntity? dropdownButtonnColor,
  RgbEntity? listTileColor,
}) {
  return MonaStyleAttributesEntity(
    appId: appId ?? this.appId,
    formBackground: formBackground ?? this.formBackground,
    appBackground: appBackground ?? this.appBackground,
    formGroupTitleColor: formGroupTitleColor ?? this.formGroupTitleColor,
    formFieldTextColor: formFieldTextColor ?? this.formFieldTextColor,
    formFieldHeaderColor: formFieldHeaderColor ?? this.formFieldHeaderColor,
    formFieldFocusColor: formFieldFocusColor ?? this.formFieldFocusColor,
    listBackground: listBackground ?? this.listBackground,
    listTextItemColor: listTextItemColor ?? this.listTextItemColor,
    floatingButtonForegroundColor:
        floatingButtonForegroundColor ?? this.floatingButtonForegroundColor,
    floatingButtonBackgroundColor:
        floatingButtonBackgroundColor ?? this.floatingButtonBackgroundColor,
    dividerColor: dividerColor ?? this.dividerColor,
    topicContainerBackground:
        topicContainerBackground ?? this.topicContainerBackground,
    actionContainerBackground:
        actionContainerBackground ?? this.actionContainerBackground,
    appBarBG: appBarBG ?? this.appBarBG,
    appBarIconColor: appBarIconColor ?? this.appBarIconColor,
    appBarSelectedIconColor:
        appBarSelectedIconColor ?? this.appBarSelectedIconColor,
    appBarMenuBackgroundColor:
        appBarMenuBackgroundColor ?? this.appBarMenuBackgroundColor,
    bottomNavigationBarBG:
        bottomNavigationBarBG ?? this.bottomNavigationBarBG,
    drawerBG: drawerBG ?? this.drawerBG,
    drawerHeaderBG: drawerHeaderBG ?? this.drawerHeaderBG,
    profileDrawerBG: profileDrawerBG ?? this.profileDrawerBG,
    profileDrawerHeaderBG:
        profileDrawerHeaderBG ?? this.profileDrawerHeaderBG,
    backgroundColorHomeMenu:
        backgroundColorHomeMenu ?? this.backgroundColorHomeMenu,
    h1: h1 ?? this.h1,
    h2: h2 ?? this.h2,
    h3: h3 ?? this.h3,
    h4: h4 ?? this.h4,
    h5: h5 ?? this.h5,
    textFieldHeader: textFieldHeader ?? this.textFieldHeader,
    fontText: fontText ?? this.fontText,
    fontSmallText: fontSmallText ?? this.fontSmallText,
    fontHighlight1: fontHighlight1 ?? this.fontHighlight1,
    fontHighlight2: fontHighlight2 ?? this.fontHighlight2,
    fontLink: fontLink ?? this.fontLink,
    routeBuilder: routeBuilder ?? this.routeBuilder,
    routeAnimationDuration:
        routeAnimationDuration ?? this.routeAnimationDuration,
    dialogBackgroundColor:
        dialogBackgroundColor ?? this.dialogBackgroundColor,
    dialogSeperatorColor: dialogSeperatorColor ?? this.dialogSeperatorColor,
    popupMenuButtonColor: popupMenuButtonColor ?? this.popupMenuButtonColor,
    textBubbleBackgroundColor:
        textBubbleBackgroundColor ?? this.textBubbleBackgroundColor,
    dropdownButtonnColor: dropdownButtonnColor ?? this.dropdownButtonnColor,
    listTileColor: listTileColor ?? this.listTileColor,
  );
}