buildAppAttributes method
- required HomeConfig homeConfig,
- required AppSettings appSettings,
- required UserSettings userSettings,
- required ScreenConfigurations screenConfigurations,
Fills the shell-owned half of an AppAttributes; the app supplies the half that comes out of its own settings.
Implementation
AppAttributes buildAppAttributes({
required FooterConfig footerConfig,
required HomeConfig homeConfig,
required AppSettings appSettings,
required UserSettings userSettings,
required ScreenConfigurations screenConfigurations,
}) {
return AppAttributes(
footerConfig: footerConfig,
homeConfig: homeConfig,
appSettings: appSettings,
userSettings: userSettings,
screenConfigurations: screenConfigurations,
railAnimation: railAnimation,
showMediumSizeLayout: showMediumSizeLayout,
showLargeSizeLayout: showLargeSizeLayout,
currentLanguageIndex: currentLanguageIndex,
useLightMode: useLightMode,
colorSelected: colorSelected,
handleBrightnessChange: handleBrightnessChange,
handleLanguageSelect: handleLanguageSelect,
handleColorSelect: handleColorSelect,
);
}