美文网首页Flutter
flutter 参考链接

flutter 参考链接

作者: CarinaXiaoWang | 来源:发表于2020-05-28 11:14 被阅读0次

    本文以方便自己学习查找相关链接为由书写,普遍中文外链.Thanks For Share.

    Flutter官方网站
    https://flutter.cn/
    Flutter packages market
    Flutter plugins
    dart 在线编辑
    flutter 拖动布局网页, 在线编辑flutter widget

    Flutter demo

    登录注册: https://github.com/yechaoa/wanandroid_falutter

    https://github.com/CarGuo/gsy_github_app_flutter

    Flutter 状态管理方案

    flutter_bloc. https://www.jianshu.com/p/d297ededdb9c
    provider:https://github.com/rrousselGit/provider

    Flutter 混合应用路由管理
    flutter_boost是插件, flutter_boots 是集成工具
    flutter_boost. https://github.com/alibaba/flutter_boost/blob/master/example/lib/main.dart

    Flutter http请求
    http / dio dio封装https://www.cnblogs.com/gxsyj/p/11162011.html https://blog.csdn.net/yechaoa/article/details/90234708

    Flutter cookie 与dio
    https://zhuanlan.zhihu.com/p/102573706
    dio pub
    cookie_jar 本地持久化集成

    dio封装

    https://github.com/flutterchina/dio/blob/master/README-ZH.md#%E8%AF%B7%E6%B1%82%E9%85%8D%E7%BD%AE

    Flutter json数据序列化
    使用 dart:convert手动序列化JSON
    json_annotation
    https://s0pub0dev.icopy

    Flutter 数据库
    graphql https://graphql.org/

    Flutter 原生页面跳转, 自定义路由
    https://juejin.im/post/5c7a26faf265da2da8358eb1

    Flutter调用原生组件

    原生页面部分使用flutter组件

    Flutter plugins

    https://github.com/flutter/plugins

    Flutter pageView

    Flutter (替换listview)滚动嵌套 **customScrollView **

    Flutter sliver系列 https://www.jianshu.com/p/ca79eb54a356

    SliverFillRemaining(

    child: Text('Foo Text'),

    ),
    占了appBar剩下的一屏

    Flutter 筛选用 SizedBox https://github.com/niyige/flutter_app

    Flutter: Wrap 可以让子控件自动换行的控件

    Wrap(
    
     crossAxisAlignment: WrapCrossAlignment.center, // 垂直居中
    

    Flutter 布局绝对定位 stack position : https://www.jianshu.com/p/ce3da9f67d79

    Flutter 布局 横向纵向 column row : https://www.jianshu.com/p/1fb2f3dcd641

    Flutter dialog https://www.jianshu.com/p/8f81c98f08dd

    Flutter modal 用visibilityStack实现

    Flutter 实现类似supperText, 有边框有背景的可点击按钮 containerBoxDecoration https://blog.csdn.net/chenlove1/article/details/83627831

    Flutter ExpansionTile 可展开收缩组件 https://blog.csdn.net/weixin_43294560/article/details/105806213

    ExpansionTile

    Flutter ThemeData 修改主题

    Flutter button: button 种类,

    button禁用 onPressed是null时禁用, 是函数时非禁用状态

    Flutter ThemeData 修改主题

    Flutter book 中文使用手册

    https://book.flutterchina.club/chapter7/dailog.html

    Flutter dart 数据类型

    https://juejin.im/post/5c6cbd7651882523f026608c

    Flutter ui&widget 库

    https://juejin.im/post/5c866affe51d450ced663666

    bug:

    • 溢出bug: 要看是谁溢出了, 谁溢出了改谁
      比如,我的row包含的text太长, 显示: Renderflex 溢出了, 是row 中文字太长, 把row撑开了, row继承了Fex, Renderflex指 row, 所以改row, 可以改成wrap(会自动换行)

    • android flutter 混合开发项目, android 添加了abiFilter 'armv7a', x86_64架构的设备(比如 小米pad2)崩溃闪退: Failed to setup Skia Gr context https://github.com/flutter/flutter/issues/11094 not worded for me
      如果我在host 项目增加类型 abiFilters 'armv7a','x86_64' apk体积就会变大, 而且host 项目中一些库并没有支持x86_64,就会构建失败, 提示'找不到 *.so'; 就会造成. 不知道怎么解决......

    相关文章

      网友评论

        本文标题:flutter 参考链接

        本文链接:https://www.haomeiwen.com/subject/hupoahtx.html