You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
512 B
Dart
19 lines
512 B
Dart
|
4 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
|
||
|
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
||
|
|
|
||
|
|
class AppLocalizations {
|
||
|
|
static const Iterable<LocalizationsDelegate<dynamic>> localizationsDelegates =
|
||
|
|
[
|
||
|
|
// ... app-specific localization delegate[s] here
|
||
|
|
// S.delegate,
|
||
|
|
GlobalMaterialLocalizations.delegate,
|
||
|
|
GlobalWidgetsLocalizations.delegate,
|
||
|
|
GlobalCupertinoLocalizations.delegate
|
||
|
|
];
|
||
|
|
|
||
|
|
static const List<Locale> supportedLocales = [
|
||
|
|
const Locale("en", "US")
|
||
|
|
];
|
||
|
|
}
|