Demo
Server Side
I have deployed the laravel server to the ECS. The basic interface address is: https://api.locyin.com/api/v1/
,Other configuration information of the app can be modified in the lib/common/config.dart
file.
Installation
-
Clone this project
git clone https://github.com/geekadpt/flutter_locyin.git
-
Configure Signature
-
Debug Signature
I have generated the debug signature file
debug.keystore
. The alias isandroiddebugkey
and the password isandroid
. You can use this command to view the debug signature:keytool -list -v -keystore android/debug.keystore
-
Release Signature
Create a file named
android/key.properties
, which contains a reference to the keystore:storePassword= keyPassword= keyAlias= storeFile=
-
Amap
Download Amap SDK ,copy the
android/app/libs
folder to our project. -
Run
flutter pub get flutter run
Features
-
Fully support null-safety
-
Sound log system
-
Reasonable and standardized development process, from zero to one, from shallow to deep
-
Use the critically acclaimed third-party plug-in library
-
Integrated Amap
-
Instant messaging system in WeChat style
Suitable For
- Developers lacking experience in large-scale flutter projects
- College students who want to complete projects or graduate programs independently
Project Structure
|---flutter_locyin
| |---android
| |---assets
| | |---fonts
| | |---icon
| | |---images
| | |---json
| |---ios
| |---lib
| | |---data
| | | |---api
| | | |---model
| | |---common
| | | |---lang
| | | └──en_US
| | | └──zh_Hans
| | | └──translation_service
| | | └──config.dart
| | |---init
| | | └── app_init.dart
| | | └── default_app.dart
| | |---page
| | | └── index.dart
| | | └── xxx.dart
| | |---route
| | | └── route_map.dart
| | | └── route.dart
| | |---utils
| | | └── getx.dart
| | | └── dio_manager.dart
| | | └── xxx.dart
| | |---widgets
| | └── main.dart
| |---test
| |---web
| └── pubspec.yaml
Document
License
The flutter_locyin is open-sourced software licensed under the Apache License, Version 2.0.