copyWith method
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? 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,
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,
);
}