摘要: 1. 添加依赖 dependencies: url_launcher: ^5.4.11 2. openWebView app _launchURL() async { const url = 'http://it200.cn/'; if (await canLaunch(url)) { await 阅读全文
posted @ 2020-06-25 21:28 前端小鑫同学 阅读(38) 评论(0) 推荐(0)
摘要: 1. 添加依赖 dependencies: flutter_redux: ^0.6.0 2. 定义State /// 1.定义状态 class AppStates { ThemeData themeData; AppStates({this.themeData}); } /// 2.提供appRed 阅读全文
posted @ 2020-06-25 21:02 前端小鑫同学 阅读(15) 评论(0) 推荐(0)
摘要: flutter packages 发布指北 检测 flutter packages pub publish --dry-run 发布 flutter package: flutter packages pub publish --server=https://pub.dartlang.org 记录一 阅读全文
posted @ 2020-06-21 16:56 前端小鑫同学 阅读(11) 评论(0) 推荐(0)
摘要: Fluro_Plus项目简介 Fluro_Plus对Fluro的传参进行来包装,通过传递和接收Bundle来方便使用,目前在初学阶段,欢迎指点 使用说明 引入依赖 fluro_plus: git: https://github.com/OSpoon/fluro_plus.git 构建项目路由 /// 阅读全文
posted @ 2020-06-21 11:14 前端小鑫同学 阅读(8) 评论(0) 推荐(0)
摘要: 还在学习Flutter中,这个操作不知道什么时候失效了,目前AndroidStudio4.0和相关的Dart,Flutter的插件都升级的最新的 1. 开启: Quick assist powered by the Dart Analysis Server. 2. 操作: File-> Settin 阅读全文
posted @ 2020-06-12 13:58 前端小鑫同学 阅读(29) 评论(0) 推荐(0)
摘要: 1. 手动整合Flutter到Android项目 Flutter支持x86_64,armeabi-v7a,arm64-v8a android { //... defaultConfig { ndk { // Filter for architectures supported by Flutter. 阅读全文
posted @ 2020-06-07 16:30 前端小鑫同学 阅读(15) 评论(0) 推荐(0)
摘要: import os import shutil del_list = [] def del_svn(f): fs = os.listdir(f) for f1 in fs: tmp_path = os.path.join(f, f1) if not os.path.isdir(tmp_path): 阅读全文
posted @ 2020-06-05 13:40 前端小鑫同学 阅读(8) 评论(0) 推荐(0)
摘要: RabbitMQ的基本使用 添加依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> 定义消息接收一 /* 阅读全文
posted @ 2020-06-05 13:40 前端小鑫同学 阅读(9) 评论(0) 推荐(0)
摘要: pom依赖: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId> 阅读全文
posted @ 2020-06-05 13:40 前端小鑫同学 阅读(9) 评论(0) 推荐(0)
摘要: import os import time start_time = '2018-09-11 00:00:00' start_time_arr = time.strptime(start_time, "%Y-%m-%d %H:%M:%S") start_time_ = time.mktime(sta 阅读全文
posted @ 2020-06-05 13:07 前端小鑫同学 阅读(9) 评论(0) 推荐(0)