FastSettingsThemePage constructor

const FastSettingsThemePage({
  1. Key? key,
  2. EdgeInsets? contentPadding,
  3. double iconHeight = kFastSettingIconHeight,
  4. Widget? headerIcon,
  5. List<Widget>? actions,
  6. String lightIconPath = FastImageMobile.light,
  7. String darkIconPath = FastImageMobile.dark,
  8. ThemeModeFormatter? themeModeFormatter,
  9. FastListItemDescriptor? listItemDescriptor,
  10. String? headerDescriptionText,
  11. String? titleText,
  12. String? subtitleText,
})

Implementation

const FastSettingsThemePage({
  super.key,
  super.contentPadding,
  super.iconHeight,
  super.headerIcon,
  super.actions,
  this.lightIconPath = FastImageMobile.light,
  this.darkIconPath = FastImageMobile.dark,
  this.themeModeFormatter,
  this.listItemDescriptor,
  String? headerDescriptionText,
  String? titleText,
  String? subtitleText,
})  : subtitleText =
          subtitleText ?? SettingsLocaleKeys.settings_label_appearance,
      super(
        headerDescriptionText: headerDescriptionText ??
            SettingsLocaleKeys.settings_note_appearance,
        titleText: titleText ?? SettingsLocaleKeys.settings_label_appearance,
      );