Benzapp's Flutter implementation
Per poter eseguire l'applicazione a partire dal codice sorgente disponibile in questo repo è
necessario configurare le chiavi relative ai servizi Google e Firebase utilizzati. Nei file di
esempio, verrà utilizzato il placeholder ${google-api-key}
per indicare dove inserire tale chiave.
Bisogna creare il file android/app/src/main/res/values/secrets.xml
nel quale inserire la chiave
per i servizi Google maps per il progetto Android.
<resources>
<string name="google_api_key">${google-api-key}</string>
</resources>
Bisogna creare il file ios/Runner/Secrets.swift
nel quale inserire la chiave per i servizi Google
maps per il progetto iOS.
import Foundation
struct Secrets {
static let googleApiKey="${google-api-key}>";
}
Per ottenere il file bundle per la pubblicazione dell'applicativo sullo store di Google è sufficiente eseguire il
flutter build appbundle
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
flutter packages pub get
flutter packages pub run build_runner build
flutter packages pub run build_runner build --delete-conflicting-outputs
flutter packages pub run build_runner watch
Widgets catalog:
Material icons:
A Flutter plugin to share images between Flutter and Android.
- https://api.flutter.dev/flutter/material/CircularProgressIndicator-class.html
- https://stackoverflow.com/questions/52376287/positioning-a-widget-in-the-end-of-the-row-widget
- https://www.elitechsystems.com/flutter-numberpad-widget-without-any-package-for-android-ios/
- https://stackoverflow.com/questions/49991444/create-a-rounded-button-button-with-border-radius-in-flutter
- https://stackoverflow.com/questions/51304568/scaffold-of-called-with-a-context-that-does-not-contain-a-scaffold
- https://docs.flutter.dev/cookbook/persistence/sqlite
- https://levelup.gitconnected.com/room-database-equivalent-for-flutter-807c9729b58d
- https://pub.dev/packages/floor#data-changes
- https://levelup.gitconnected.com/top-5-local-database-solutions-for-flutter-development-6351cd494070
- https://pub.dev/packages/provider
- https://docs.flutter.dev/development/data-and-backend/state-mgmt/simple
- https://docs.flutter.dev/cookbook/navigation/named-routes
- https://docs.flutter.dev/cookbook/navigation/navigate-with-arguments
-
https://codelabs.developers.google.com/codelabs/google-maps-in-flutter#0
-
https://github.com/flutter/samples/tree/master/place_tracker
-
https://coletiv.com/blog/how-to-cluster-markers-on-google-maps-using-flutter/
flutter packages pub run build_runner build
- https://stacksecrets.com/flutter/introduction-to-built_value-library-in-dart
- https://stacksecrets.com/flutter/how-to-use-built_value-library
- https://stacksecrets.com/flutter/how-to-use-built_value-library#Setup_Built_Value_In_Flutter_App https://newbedev.com/dart-built-value-deserialize-list-of-objects
- https://pub.dev/packages/floor#data-changes
- https://levelup.gitconnected.com/room-database-equivalent-for-flutter-807c9729b58d
Richiede installazione Firebase CLI.
- https://firebase.google.com/docs/cli#install-cli-windows
- https://firebase.flutter.dev/docs/overview/#initializing-flutterfire
- https://www.woolha.com/tutorials/flutter-using-firebase-remote-config
- https://stackoverflow.com/questions/66830661/firebase-messaging-onbackgroundmessage-local-notifications
- https://pub.dev/packages/firebase_messaging/install
- https://firebase.flutter.dev/docs/messaging/usage
- https://pub.dev/packages/flutter_local_notifications/install
https://docs.flutter.dev/resources/books
- https://medium.com/flutter-community/flutter-threading-5c3a7b0c065f
- https://www.tutorialspoint.com/dart_programming/dart_programming_concurrency.htm
- https://pub.dev/packages/threading
- https://medium.com/flutter-community/flutter-threading-5c3a7b0c065f
- https://www.tutorialspoint.com/dart_programming/dart_programming_concurrency.htm
- https://pub.dev/packages/threading
KeyStore was introduced in Android 4.3 (API level 18). The plugin wouldn't work for earlier versions