add intl package

main
Julian Gegner 2023-03-05 20:42:39 +01:00
parent 00ae7ae860
commit a5596b0934
2 changed files with 3 additions and 0 deletions

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:intl/date_symbol_data_local.dart';
import 'package:provider/provider.dart'; import 'package:provider/provider.dart';
import 'package:smoke_cess_app/pages/main_page.dart'; import 'package:smoke_cess_app/pages/main_page.dart';
import 'package:smoke_cess_app/providers/tasks_provider.dart'; import 'package:smoke_cess_app/providers/tasks_provider.dart';
@ -14,6 +15,7 @@ void main() {
//init database //init database
globals.databaseService; globals.databaseService;
tz.initializeTimeZones(); tz.initializeTimeZones();
initializeDateFormatting('de');
NotificationService().initNotification(); NotificationService().initNotification();
runApp(const MyApp()); runApp(const MyApp());
} }

View File

@ -24,6 +24,7 @@ dependencies:
http: ^0.13.5 http: ^0.13.5
syncfusion_flutter_charts: ^20.4.52 syncfusion_flutter_charts: ^20.4.52
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
intl: ^0.18.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: