Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
app_localizations.dart File Reference
import package;
import material.dart;
import translations;
import ar.dart;
import en.dart;
Include dependency graph for app_localizations.dart:

Go to the source code of this file.

Classes

class  AppLocalizations

Functions

class AppLocalizations _AppLocalizationsDelegate ()
 AppLocalizations (this.locale)
static AppLocalizations of (BuildContext context)
String translate (String key)
override bool isSupported (Locale locale)
override Future< AppLocalizationsload (Locale locale) async
override bool shouldReload (_AppLocalizationsDelegate old)

Variables

final Locale locale
static const LocalizationsDelegate< AppLocalizationsdelegate = _AppLocalizationsDelegate()
static const List< Locale > supportedLocales
static final Map< String, Map< String, String > > _localizedValues

Function Documentation

◆ _AppLocalizationsDelegate()

class AppLocalizations _AppLocalizationsDelegate ( )
Here is the caller graph for this function:

◆ AppLocalizations()

_AppLocalizationsDelegate::AppLocalizations ( this. locale)
Here is the caller graph for this function:

◆ isSupported()

override bool isSupported ( Locale locale)

Definition at line 41 of file app_localizations.dart.

◆ load()

override Future< AppLocalizations > load ( Locale locale)

Definition at line 46 of file app_localizations.dart.

Here is the call graph for this function:

◆ of()

AppLocalizations _AppLocalizationsDelegate::of ( BuildContext context)
static

Definition at line 5 of file app_localizations.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shouldReload()

override bool shouldReload ( _AppLocalizationsDelegate old)
Here is the call graph for this function:

◆ translate()

String _AppLocalizationsDelegate::translate ( String key)

Definition at line 25 of file app_localizations.dart.

Variable Documentation

◆ _localizedValues

final Map<String, Map<String, String> > _localizedValues
static
Initial value:
= {
'en': en,
'ar': ar,
}
const Map< String, String > ar
Definition ar.dart:1
const Map< String, String > en
Definition en.dart:1

Definition at line 19 of file app_localizations.dart.

◆ delegate

const LocalizationsDelegate<AppLocalizations> delegate = _AppLocalizationsDelegate()
static

Definition at line 10 of file app_localizations.dart.

◆ locale

final Locale locale

Definition at line 0 of file app_localizations.dart.

◆ supportedLocales

const List<Locale> supportedLocales
static
Initial value:
= [
Locale('en', ''),
Locale('ar', ''),
]

Definition at line 13 of file app_localizations.dart.