Feat: Fügt localization für Deutsch hinzu
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'package:routemaster/routemaster.dart';
|
||||
|
||||
import 'Services/navigation_service.dart';
|
||||
@@ -16,6 +17,15 @@ void main() {
|
||||
),
|
||||
routeInformationParser: const RoutemasterParser(),
|
||||
|
||||
localizationsDelegates: const [
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
],
|
||||
supportedLocales: const [
|
||||
Locale('de'),
|
||||
],
|
||||
|
||||
title: 'DragonLedger 🐉📒',
|
||||
theme: ThemeService.getLightTheme(),
|
||||
darkTheme: ThemeService.getDarkTheme(),
|
||||
|
||||
Reference in New Issue
Block a user