t×tecexpressby TeKOcloud
DEv0.7.1
API & types / FLUTTER

TxLocalizations.

Material localization delegates and supported German/English locales for MaterialApp.

Member / type / returnMeaning
static const List<LocalizationsDelegate<dynamic>> delegates = GlobalMaterialLocalizations.delegatesAssign to MaterialApp.localizationsDelegates.
static const List<Locale> supportedLocales = [Locale('de'), Locale('en')]Assign to MaterialApp.supportedLocales.
dart
import 'package:flutter/material.dart';
import 'package:tecexpress/tecexpress.dart';

Future<void> example() async {
  print(MaterialApp(localizationsDelegates: TxLocalizations.delegates, supportedLocales: TxLocalizations.supportedLocales));
}