buildAppAttributes method

AppAttributes buildAppAttributes({
  1. required FooterConfig footerConfig,
  2. required HomeConfig homeConfig,
  3. required AppSettings appSettings,
  4. required UserSettings userSettings,
  5. 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,
  );
}