Skip to content
Snippets Groups Projects
Commit 74464bfd authored by Maximilian Betz's avatar Maximilian Betz
Browse files

started storing data locally

parent 2ec0e10f
No related branches found
No related tags found
No related merge requests found
import 'dart:io';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';
import 'datamodel.dart'; import 'datamodel.dart';
import 'addevent.dart'; import 'addevent.dart';
import 'viewevents.dart'; import 'viewevents.dart';
import 'overview.dart'; import 'overview.dart';
import 'configuration.dart'; import 'configuration.dart';
Future<void> pathstuff() async {
//Directory downloadsDirectory = await DownloadsPathProvider.downloadsDirectory;
//Directory appDocDir = await getApplicationDocumentsDirectory();
//debugPrint(appDocDir.path.toString());
}
void main() { void main() {
//pathstuff();
EventStoreInstance events = EventStoreInstance(); EventStoreInstance events = EventStoreInstance();
final ConfigurationStoreInstance configuration = ConfigurationStoreInstance(); final ConfigurationStoreInstance configuration = ConfigurationStoreInstance();
......
...@@ -247,6 +247,27 @@ packages: ...@@ -247,6 +247,27 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.8.0" version: "1.8.0"
path_provider:
dependency: "direct main"
description:
name: path_provider
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.9"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.12"
path_provider_ios:
dependency: transitive
description:
name: path_provider_ios
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:
...@@ -254,6 +275,13 @@ packages: ...@@ -254,6 +275,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.5" version: "2.1.5"
path_provider_macos:
dependency: transitive
description:
name: path_provider_macos
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.5"
path_provider_platform_interface: path_provider_platform_interface:
dependency: transitive dependency: transitive
description: description:
......
...@@ -31,6 +31,7 @@ dependencies: ...@@ -31,6 +31,7 @@ dependencies:
sdk: flutter sdk: flutter
shared_preferences: ^2.0.12 shared_preferences: ^2.0.12
path_provider: ^2.0.9
http: ^0.13.4 http: ^0.13.4
geolocator: ^8.1.1 geolocator: ^8.1.1
flutter_login: ^3.1.0 flutter_login: ^3.1.0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment