showThemeToggle property

  1. @JsonKey.new(name: 'show_theme_toggle')
bool get showThemeToggle
inherited

Server gate for the light/dark theme switcher in the more-options menu. When false the switcher is hidden; the host-supplied BotConfiguration value still wins per the standard precedence.

Implementation

@JsonKey(name: 'chat_appearance_dark') ChatAppearance? get chatAppearanceDark;/// Server gate for the light/dark theme switcher in the more-options
/// menu. When false the switcher is hidden; the host-supplied
/// [BotConfiguration] value still wins per the standard precedence.
// ignore: invalid_annotation_target
@JsonKey(name: 'show_theme_toggle') bool get showThemeToggle;