diff --git a/mobile-app/README.md b/mobile-app/README.md index d7b5b86..604916e 100644 --- a/mobile-app/README.md +++ b/mobile-app/README.md @@ -1,16 +1,11 @@ # toolheim -A new Flutter project. +# Generator stuff -## Getting Started +## Json adapter -This project is a starting point for a Flutter application. + $ flutter packages pub run build_runner build --delete-conflicting-outputs -A few resources to get you started if this is your first Flutter project: +## App launcher icon -- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) - -For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. + $ flutter pub pub run flutter_launcher_icons:main diff --git a/mobile-app/android/app/src/main/AndroidManifest.xml b/mobile-app/android/app/src/main/AndroidManifest.xml index 4fab12a..38b7b1f 100644 --- a/mobile-app/android/app/src/main/AndroidManifest.xml +++ b/mobile-app/android/app/src/main/AndroidManifest.xml @@ -9,7 +9,7 @@ + android:icon="@mipmap/launcher_icon"> _splitListFromJson(String list) { if (list == null) { diff --git a/mobile-app/pubspec.lock b/mobile-app/pubspec.lock index f7471a9..9ef4b57 100644 --- a/mobile-app/pubspec.lock +++ b/mobile-app/pubspec.lock @@ -8,6 +8,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.37.0" + archive: + dependency: transitive + description: + name: archive + url: "https://pub.dartlang.org" + source: hosted + version: "2.0.10" args: dependency: transitive description: @@ -167,6 +174,13 @@ packages: description: flutter source: sdk version: "0.0.0" + flutter_launcher_icons: + dependency: "direct dev" + description: + name: flutter_launcher_icons + url: "https://pub.dartlang.org" + source: hosted + version: "0.7.2+1" flutter_test: dependency: "direct dev" description: flutter @@ -221,6 +235,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "3.1.3" + image: + dependency: transitive + description: + name: image + url: "https://pub.dartlang.org" + source: hosted + version: "2.1.4" io: dependency: transitive description: @@ -326,6 +347,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.7.0" + petitparser: + dependency: transitive + description: + name: petitparser + url: "https://pub.dartlang.org" + source: hosted + version: "2.4.0" pool: dependency: transitive description: @@ -492,6 +520,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.0.14" + xml: + dependency: transitive + description: + name: xml + url: "https://pub.dartlang.org" + source: hosted + version: "3.5.0" yaml: dependency: "direct main" description: @@ -500,5 +535,5 @@ packages: source: hosted version: "2.1.16" sdks: - dart: ">=2.3.0 <3.0.0" + dart: ">=2.4.0 <3.0.0" flutter: ">=1.5.0 <2.0.0" diff --git a/mobile-app/pubspec.yaml b/mobile-app/pubspec.yaml index 5e30b2f..34674c0 100644 --- a/mobile-app/pubspec.yaml +++ b/mobile-app/pubspec.yaml @@ -38,6 +38,12 @@ dev_dependencies: sdk: flutter build_runner: json_serializable: + flutter_launcher_icons: "^0.7.2" + +flutter_icons: + android: "launcher_icon" + ios: true + image_path: "assets/images/logo.png" # For information on the generic Dart part of this file, see the