quds_interactive library

Classes

QudsInteractiveApp
A wrap for MaterialApp with ability to change language and theme dynamically
QudsLanguage
Represents a translation to some language
QudsLanguageDetails
Details about some language.
QudsLanguagesListView
A list view with the current languages list
QudsSelectLanguageIconButton
A IconButton with ability to change the current language of the app
QudsSelectLanguageListTile
A ListTile with ability to change the current language of the app
QudsSelectThemeIconButton
A QudsAnimatedCombinedIconsButton with ability to change the current theme of the app
QudsSelectThemeListTile
A ListTile with ability to change the current theme of the app
QudsTheme
Control the theme of the app
QudsThemedWidget
Similar to Theme widget with custom builder
QudsThemeProvider
A QudsProvider with ability to control the theme.
QudsThemesListView
A list view with theme options
QudsTranslated
A widget with Language injected in the BuildContext arg.
QudsTranslation
Control the language of the app
QudsTranslationProvider
A QudsProvider with ability to control the app language.

Extensions

StringExtensions on String
Helping extension methods on String for translation.

Properties

currentFont String?
Get the current set language font
no setter
currentLanguage QudsLanguage?
Get the current set language
no setter
currLanguage QudsLanguage?
Get the current set language
no setter
isLTR bool
Weather the current langage is LTR
no setter
isRTL bool
Weather the current langage is RTL
no setter

Functions

translate(String key, {String? langCode}) → dynamic
Get the key corresponding translation, by default, it translate to the current set language. langCode if a specific language code desired
translateForLang(String langCode, String key) String
Translate to a specific language