AppLocalizations class abstract
Callers can lookup localized strings with an instance of AppLocalizations
returned by AppLocalizations.of(context).
Constructors
- AppLocalizations(String locale)
Properties
- appBarTitleDefault → String
-
The title of the app bar when no book title is available
no setter
- bookEmpty → String
-
Message displayed when book has no content
no setter
- errorLoadingTitle → String
-
Error title when book fails to load
no setter
- fontSizeDecrease → String
-
Label for font size decrease button
no setter
- fontSizeIncrease → String
-
Label for font size increase button
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadingBook → String
-
Loading message displayed when book is loading
no setter
- localeName → String
-
final
- noBookLoaded → String
-
Message displayed when no book is loaded
no setter
- pageLabel → String
-
Label for page in page view
no setter
- readingModePage → String
-
Label for page reading mode
no setter
- readingModeScroll → String
-
Label for scroll reading mode
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionsCount → String
-
Label for sections in table of contents
no setter
- themeDark → String
-
Label for dark theme
no setter
- themeLight → String
-
Label for light theme
no setter
- themeSepia → String
-
Label for sepia theme
no setter
- tooltipBack → String
-
Tooltip for the back button
no setter
- tooltipFontSize → String
-
Tooltip for the font size button
no setter
- tooltipLanguage → String
-
Tooltip for the language button
no setter
- tooltipReadingMode → String
-
Tooltip for the reading mode button
no setter
- tooltipTableOfContents → String
-
Tooltip for the table of contents button
no setter
- tooltipTheme → String
-
Tooltip for the theme button
no setter
Methods
-
getLocaleDisplayName(
String languageCode) → String - Get the display name for a language code
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → AppLocalizations?
Constants
-
delegate
→ const LocalizationsDelegate<
AppLocalizations> -
localizationsDelegates
→ const List<
LocalizationsDelegate> -
supportedLocales
→ const List<
Locale>