copyWith method
MonaStyleAttributesModel
copyWith({
- String? documentID,
- String? appId,
- BackgroundModel? formBackground,
- BackgroundModel? appBackground,
- RgbModel? formGroupTitleColor,
- RgbModel? formFieldTextColor,
- RgbModel? formFieldHeaderColor,
- RgbModel? formFieldFocusColor,
- BackgroundModel? listBackground,
- RgbModel? listTextItemColor,
- RgbModel? floatingButtonForegroundColor,
- RgbModel? floatingButtonBackgroundColor,
- RgbModel? dividerColor,
- BackgroundModel? topicContainerBackground,
- BackgroundModel? actionContainerBackground,
- BackgroundModel? appBarBG,
- RgbModel? appBarIconColor,
- RgbModel? appBarSelectedIconColor,
- RgbModel? appBarMenuBackgroundColor,
- BackgroundModel? drawerBG,
- BackgroundModel? drawerHeaderBG,
- BackgroundModel? profileDrawerBG,
- BackgroundModel? profileDrawerHeaderBG,
- RgbModel? backgroundColorHomeMenu,
- FontModel? h1,
- FontModel? h2,
- FontModel? h3,
- FontModel? h4,
- FontModel? h5,
- FontModel? textFieldHeader,
- FontModel? fontText,
- FontModel? fontSmallText,
- FontModel? fontHighlight1,
- FontModel? fontHighlight2,
- FontModel? fontLink,
- PageTransitionAnimation? routeBuilder,
- int? routeAnimationDuration,
- RgbModel? dialogBackgroundColor,
- RgbModel? dialogSeperatorColor,
- RgbModel? popupMenuButtonColor,
- RgbModel? textBubbleBackgroundColor,
- RgbModel? dropdownButtonnColor,
- RgbModel? listTileColor,
override
Implementation
@override
MonaStyleAttributesModel copyWith({
String? documentID,
String? appId,
BackgroundModel? formBackground,
BackgroundModel? appBackground,
RgbModel? formGroupTitleColor,
RgbModel? formFieldTextColor,
RgbModel? formFieldHeaderColor,
RgbModel? formFieldFocusColor,
BackgroundModel? listBackground,
RgbModel? listTextItemColor,
RgbModel? floatingButtonForegroundColor,
RgbModel? floatingButtonBackgroundColor,
RgbModel? dividerColor,
BackgroundModel? topicContainerBackground,
BackgroundModel? actionContainerBackground,
BackgroundModel? appBarBG,
RgbModel? appBarIconColor,
RgbModel? appBarSelectedIconColor,
RgbModel? appBarMenuBackgroundColor,
BackgroundModel? bottomNavigationBarBG,
BackgroundModel? drawerBG,
BackgroundModel? drawerHeaderBG,
BackgroundModel? profileDrawerBG,
BackgroundModel? profileDrawerHeaderBG,
RgbModel? backgroundColorHomeMenu,
FontModel? h1,
FontModel? h2,
FontModel? h3,
FontModel? h4,
FontModel? h5,
FontModel? textFieldHeader,
FontModel? fontText,
FontModel? fontSmallText,
FontModel? fontHighlight1,
FontModel? fontHighlight2,
FontModel? fontLink,
PageTransitionAnimation? routeBuilder,
int? routeAnimationDuration,
RgbModel? dialogBackgroundColor,
RgbModel? dialogSeperatorColor,
RgbModel? popupMenuButtonColor,
RgbModel? textBubbleBackgroundColor,
RgbModel? dropdownButtonnColor,
RgbModel? listTileColor,
}) {
return MonaStyleAttributesModel(
documentID: documentID ?? this.documentID,
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,
);
}