/ncov_2019

为抗击新肺炎贡献一份技术力量-App研发

Primary LanguageDartApache License 2.0Apache-2.0

nCoV_2019

获取新肺炎实时动态App,支持Android和IOS。

Log

  • 2020.2.2 - 修复了统计的分隔符导致统计数据无法正常显示。

项目描述

App体验

Android 下载地址:

http://www.flutterj.com/nCoV-2019.apk

Android(二维码下载):

download.png

IOS:

拉下代码直接跑即可

App效果图

home.png rumor1.png rumor2.png rumor3.png
protect1.png protect2.png protect3.png lore.png

使用须知

  • cached_network_image

pubspec.yaml文件中,关于flutter版本使用cached_network_image插件问题,默认使用any, 因为你们刚安装上flutter为最新版本flutter。

#  cached_network_image: ^1.1.1 # 1.9.0左右flutter版本的用这个
  cached_network_image: any # 2.0.0左右flutter版本直接用any

使用教程

IOS

  • 进入项目IOS目录:$ cd ios/
  • 更新Pod(非必须):$ pod update
  • 安装Pod:$ pod install

我的Flutter环境

q1deMacBook-Pro:~ q1$ flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.5 18F2059,
    locale zh-Hans-CN)
    • Flutter version 1.9.1+hotfix.6 at /Users/q1/flutter
    • Framework revision 68587a0916 (10 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

 
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/q1/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling
      support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/q1/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1024-b01)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.8.4

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1024-b01)

[✓] Connected device (2 available)
    • Android SDK built for x86 • emulator-5554                        •
      android-x86 • Android 10 (API 29) (emulator)
    • iPhone 11 Pro Max         • 1873AA1D-FC80-4074-9A7B-3C78C4D332F1 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-13-2 (simulator)

! Doctor found issues in 1 category.

意见反馈

如果大家有好的意见或者有好的设计图的话可以群内找我。

Flutter交流QQ群:874592746

Flutter交流微信群: