03 2020 档案

摘要:RichText( text: TextSpan( text: "登录代表同意", style: TextStyle( color: Styles.rgb_color_666, fontSize: Styles.textsize_13), children: [ TextSpan( text: "《 阅读全文
posted @ 2020-03-30 15:39 sundayswift 阅读(1506) 评论(0) 推荐(0)
摘要:class CustomerLListTitle extends StatelessWidget { final Widget imageData; final String title; CustomerLListTitle({Key key, @required this.imageData, 阅读全文
posted @ 2020-03-30 14:55 sundayswift 阅读(806) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/jacy0115/article/details/98626433 1. 打开终端 2. 输入 sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Lib 阅读全文
posted @ 2020-03-28 23:47 sundayswift 阅读(6611) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/53498914 Flutter中的单例以及网络请求库的封装 ClassNotFound 程序员 25 人赞同了该文章 Why?为什么需要单例 在Android中我们经常使用OkHttp来进行网络请求,但我们并不希望每次都创建一个OkHttp 阅读全文
posted @ 2020-03-28 18:40 sundayswift 阅读(1007) 评论(0) 推荐(0)
摘要:创建一个单例的Manager类 class Manager { // 工厂模式 factory Manager() =>_getInstance() static Manager get instance => _getInstance(); static Manager _instance; Ma 阅读全文
posted @ 2020-03-28 16:38 sundayswift 阅读(4528) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/761c5830c832 在 Flutter 项目中用到的一些工具类,现整理分享出来,大家一起学习、交流。 汇总 Http网络请求:基于 dio 封装的网络请求工具类 DateUtil:日期格式化工具类 EnumUtil:枚举与字符串转换工具类 E 阅读全文
posted @ 2020-03-28 15:46 sundayswift 阅读(1743) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/weixin_42869574/article/details/98335757 Flutter跳转页面的方式 一.跳转其他页面有返回 二.跳转其他页面不返回(从路由栈中移除本页面) 一.跳转其他页面有返回 //第一种 Navigator.push(con 阅读全文
posted @ 2020-03-28 14:55 sundayswift 阅读(3588) 评论(0) 推荐(0)
摘要:1 。Flutter自定义CupertinoPageRoute进入动画 https://www.jianshu.com/p/df2b17b22596 2. Flutter 导航Navigator、PageRoute相关集锦 Push/Pop、Present/Dismiss https://www.j 阅读全文
posted @ 2020-03-28 14:35 sundayswift 阅读(1211) 评论(0) 推荐(0)
摘要:步骤一:打开个人/资源库/Preferences 步骤二:打开Preferences/ByHost/GlobalPreferences.**.plist,打开GlobalPreferences.plist,删除掉“com.zennaware.Cornerstone:2.7”这一行,然后保存,现在再次 阅读全文
posted @ 2020-03-28 12:22 sundayswift 阅读(6291) 评论(1) 推荐(0)
摘要:https://blog.csdn.net/senkai123/article/details/102798791 阅读全文
posted @ 2020-03-27 21:05 sundayswift 阅读(307) 评论(0) 推荐(0)
摘要:search组件 Widget serachBar(){ return Container( width: ScreenUtil().setWidth(750), height: MediaQuery.of(context).padding.top + ScreenUtil().setHeight( 阅读全文
posted @ 2020-03-27 15:50 sundayswift 阅读(1353) 评论(0) 推荐(0)
摘要:添加此辅助方法: Widget buildTestableWidget(Widget widget) { return MediaQuery(data: MediaQueryData(), child: MaterialApp(home: widget)); } 然后你可以在你的测试中使用: awa 阅读全文
posted @ 2020-03-27 13:08 sundayswift 阅读(366) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/63aca25a463c https://www.cnblogs.com/loaderman/p/11350306.html Flutter 搜索界面的实现,SearchDelegate的使用 1.使用系统的搜索界面 在之前的学习中自己实现了了一个 阅读全文
posted @ 2020-03-27 12:20 sundayswift 阅读(3175) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/ITxiaodong/article/details/105029358 文章目录 裁剪布局 ClipRect ClipRRect ClipOval ClipPath 及 CustomClipper 参考: Flutter 裁剪类组件 最全总结 5.7 剪 阅读全文
posted @ 2020-03-27 10:04 sundayswift 阅读(5354) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/ckAng/p/12017690.html https://www.cnblogs.com/android-deli/p/10364703.html 阅读全文
posted @ 2020-03-26 17:31 sundayswift 阅读(647) 评论(0) 推荐(0)
摘要:https://pub.flutter-io.cn/packages/flutter_facebook_login 阅读全文
posted @ 2020-03-26 15:29 sundayswift 阅读(427) 评论(0) 推荐(0)
摘要:https://segmentfault.com/a/1190000018806329 请看原文更详细:http://tryenough.com/flutter-plugin-share 这个活生生的例子会教你开发flutter插件,功能是封装Android和iOS端的分享到facebook和twi 阅读全文
posted @ 2020-03-26 15:20 sundayswift 阅读(1130) 评论(0) 推荐(0)
摘要:在公司把cocoapods升级到1.8.3版本之后,开始出现了问题,pod install和pod search都失效。 执行pod install 之后,会一直卡在 Analyzing dependencies 然后更新到cocoapods1.8.4, 问题依然存在。 超时之后,会提示下面的错误 阅读全文
posted @ 2020-03-26 14:48 sundayswift 阅读(6554) 评论(0) 推荐(1)
摘要:Windows环境搭建flutter https://blog.csdn.net/ytfunnysite/article/details/81070066 克隆项目 git clone https://github.com/flutter/flutter.git配置变量,使用中国镜像 进入当前用户的 阅读全文
posted @ 2020-03-26 14:13 sundayswift 阅读(2986) 评论(0) 推荐(0)
摘要:Flutter 中使用 video_player 播放视频 http://www.ptbird.cn/flutter-video.html Flutter:基于video_player实现视频相关手势控制、全屏播放 https://www.lizenghai.com/archives/42928.h 阅读全文
posted @ 2020-03-25 12:53 sundayswift 阅读(5552) 评论(0) 推荐(0)
摘要:Flutter 自定义插件 https://www.jianshu.com/p/e1f967ee9fcb Flutter笔记-自定义控件 https://www.jianshu.com/p/7c205fdf756a 阅读全文
posted @ 2020-03-25 01:26 sundayswift 阅读(772) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/niceyoo/p/11095846.html 1、界面分析 通过下图我们可以拆分成 4 部分,头部、订单标题区域、订单列表区域、ListTitle同用部分。 2、UI编写 2.1、头部 主要用到了圆形头像裁剪组件-ClipOval 顶部头像区域Wid 阅读全文
posted @ 2020-03-24 19:56 sundayswift 阅读(805) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/liu__520/article/details/84138767 目录**[flutter_bottom_tab_bar](https://github.com/LiuC520/flutter_bottom_tab_bar)**items : ```Li 阅读全文
posted @ 2020-03-24 19:03 sundayswift 阅读(971) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/59a768f7a213 Flutter Decoration背景设定(边框、圆角、阴影、形状、渐变、背景图像等) https://blog.csdn.net/chenlove1/article/details/83627831 https://w 阅读全文
posted @ 2020-03-24 18:34 sundayswift 阅读(1762) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/c4463d1b277f 868 Image是一个用于展示图片的组件。支持 JPEG、PNG、GIF、Animated GIF、WebP、Animated WebP、BMP 和 WBMP 等格式。 Image 有许多的静态函数: new Image 阅读全文
posted @ 2020-03-24 18:31 sundayswift 阅读(920) 评论(0) 推荐(0)
摘要:https://segmentfault.com/a/1190000019756746 约 13 分钟 1. 前言 Flutter作为时下最流行的技术之一,凭借其出色的性能以及抹平多端的差异优势,早已引起大批技术爱好者的关注,甚至一些闲鱼,美团,腾讯等大公司均已投入生产使用。虽然目前其生态还没有完全 阅读全文
posted @ 2020-03-24 18:29 sundayswift 阅读(1194) 评论(0) 推荐(0)
摘要:原创developer_zhao 最后发布于2019-02-24 10:46:00 阅读数 13410 收藏展开有的时候想使用图标却不知道有没有该图标,记录下网址: https://material.io/tools/icons/?icon=account_balance&style=baselin 阅读全文
posted @ 2020-03-24 11:18 sundayswift 阅读(7137) 评论(1) 推荐(0)
摘要:https://blog.csdn.net/jiangyangll/article/details/99675406 报错信息:The Gradle failure may have been because of AndroidX incompatibilities in this Flutter 阅读全文
posted @ 2020-03-24 10:12 sundayswift 阅读(638) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/julystroy/article/details/88032768 extended_nested_scroll_view https://pub.dev/packages/extended_nested_scroll_view 阅读全文
posted @ 2020-03-24 09:52 sundayswift 阅读(263) 评论(0) 推荐(0)
摘要:https://www.codingsky.com/doc/flutter-things/use-flutter-code-template.html 阅读全文
posted @ 2020-03-24 09:51 sundayswift 阅读(674) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/111885959 借助App Store与Google Play,全世界任何一个国家的使用者都可以使用我们开发的应用,不过由于应用的使用者来自不同国家,所以在应用正式上架之前需要让应用能够支持多种语言,即应用的国际化。 在Flutter开发 阅读全文
posted @ 2020-03-24 09:20 sundayswift 阅读(1005) 评论(0) 推荐(0)
摘要:对于此类问题,有些是因为网速慢,需要FQ,如果没有FQ方法,就用一下方法 方法一 https://blog.csdn.net/qq_15895655/article/details/80855336 先把问题展示一下吧 这个问题困扰了将近20分钟,在百度上涉及很多解决办法。结果并无(luan)用。小 阅读全文
posted @ 2020-03-23 17:39 sundayswift 阅读(3771) 评论(1) 推荐(0)
摘要:https://blog.csdn.net/qq_42391248/article/details/101781994 阅读全文
posted @ 2020-03-23 13:02 sundayswift 阅读(403) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/03af23d1a0bc swift常用第三方库 网络 Alamofire:http网络请求事件处理的框架。 Moya:这是一个基于Alamofire的更高层网络请求封装抽象层。 Reachability.swift:用来检查应用当前的网络连接状况 阅读全文
posted @ 2020-03-19 17:49 sundayswift 阅读(1286) 评论(0) 推荐(0)
摘要:1.安装HomeBrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 或者 ruby -e "$(curl -fsSL https://raw.g 阅读全文
posted @ 2020-03-07 11:25 sundayswift 阅读(742) 评论(0) 推荐(0)