quds_interactive library Null safety

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
Helping extension methods on String for translation.

Properties

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

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