Skip to content

Diamond0071/wanandroid

 
 

Repository files navigation

WanAndroid

Download

  • Android: APK 下载
  • iOS: 不上AppStore要安装到设备比较麻烦,有需要的就自己编译使用吧。(我自己就是在iOS设备上使用的😁)
  • 严重推荐编译使用Release版,要比Debug版流畅甚多

Build

  • Android:@ Flutter Android Release Page

     cd wanandroid/
     flutter build apk
     adb install build/app/outputs/apk/release/app-release.apk
    
  • iOS:@ Flutter iOS Release Page

     cd wanandroid/
     flutter build ios
     In Xcode, open Runner.xcworkspace in wanandroid/ios folder.
     run...
    
  • Font:App中自定义了字体NotoSansCJKsc,导致软件增大了13MB,在意的话可以直接在pubspec.ymal中移除。

  • 编译不通过的可以参考issue 1,如果还没解决可以再提哈。

ScreenShots

来讲讲踩过的坑

  1. 使用NestedScrollView的话,里面的ListView不能设置controller,需要使用NotificationListener,见 stackoverflow
  2. 在上面的基础上,没有了controller如何实现类似于controller.animateTo()的功能呢?,答案是直接使用外面那个NestedScrollViewcontroller
  3. TabBarView中嵌套TabBarView,在左右滑动子TabBarView的时候,当子TabBarView没得滑得时候,自动滑动父TabBarView。如何实现,我还没找到合适的方法,知情人士务必告知呀。

Thanks

License

Copyright 2018 Hurshi

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A wanandroid.com client written by Flutter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 95.0%
  • Ruby 2.6%
  • Python 1.5%
  • Other 0.9%