Giter Site home page Giter Site logo

cixiu / flutter_manhuatai Goto Github PK

View Code? Open in Web Editor NEW
22.0 0.0 7.0 4.07 MB

Use Flutter develop manhuatai comic app

License: GNU General Public License v3.0

Java 0.02% Objective-C 0.09% Dart 99.41% Ruby 0.49%
dart flutter flutter-redux dio comics manhuatai manhua

flutter_manhuatai's Introduction

flutter_manhuatai

一个使用 Flutter 开发的一款漫画阅读 App, 相应的微信小程序地址 漫画台小程序.

Getting Started

# clone project
git clone [email protected]:cixiu/flutter_manhuatai.git

# cd project root directory
cd flutter_manhuatai

# install dependencies
flutter packages get

# run project
flutter run

Problems encountered

  1. FloatingActionButton 的 heroTag 必须唯一, 或者为 null
  2. Widgets in the overflow of stack do not respond to gestures
  3. 手机适配问题-Flutter screen adaptation, font adaptation, get screen information
  4. 嵌套的 ScrollView 问题(NestedScrollView, 吸顶 TabBar),解决方法
  5. 嵌套的 ScrollView+下拉上拉加载更多之解决方法
  6. 如果使用 Text Widget 对中文设置字体大小后,在一个 Container 容器中字体不居中的问题,使用 strutStyle 的 forceStrutHeight 强制 lineHeight 与字体的高度一致,解决字体在容器中不居中的问题
child: Text(
  item.name,
  strutStyle: StrutStyle(
    fontSize: ScreenUtil().setSp(20),
    forceStrutHeight: true,
  ),
  style: TextStyle(
    color: Colors.white,
    fontSize: ScreenUtil().setSp(20),
  ),
),
  1. borderRadius 必须有统一的 border 才能设置
  2. border 属性不支持 dashed(虚线)设置,需要自己绘制
  3. Flutter 真机(魅族)开发卡在 Installing build\app\outputs\apk\app.apk 的问题
    • 解决方法: 开发者选项 -> 性能优化 -> 高级日志输出 -> 全部允许
  4. macbook 上安卓模拟器无法连接网络问题记录

    步骤:

    1. 右上角点击 wifi — 打开网络偏好设置
    2. 底部高级 — 选择 DNS
    3. 添加 DNS 服务器 8.8.8.8
    4. 保存 — 应用
    5. 重启模拟器即可

说明

  1. 启动项目时,请将 routes 下相关的 another 有关的路由配置注释掉,此部分有关的 another 路由代码并未上传。

部分截图

首页

每日更新页面

帖子列表页面

用户个人页面

漫画详情页

帖子详情页

搜索结果页面

任务中心页面

flutter_manhuatai's People

Contributors

cixiu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.