Skip to main content

🎨 Theme API

Brand colors at initialize; runtime updates after connect.

Full guide: Theme (concepts)

Initialize​

Pass ThemeConfig / AzeooThemeConfig:

  • primaryLight / primaryDark
  • secondaryLight / secondaryDark
  • backgroundLight / backgroundDark
  • success, error, warning
  • Optional full ThemeData overrides (Flutter)

Runtime​

MethodDescription
getThemeMode / setThemeModeLight, dark, system
setPrimaryColorAccent color
setTheme / setCustomThemesReplace palettes
resetToDefaultRestore init config
getCurrentThemeRead active theme
PlatformAccess
FlutterAzeooSDK.changePrimaryColor, setCustomThemes, getCurrentThemeMode
Android / iOS / RNsdk.theme.*

Pigeon: AzeooThemeApi in pigeons/azeoo_api.dart.