上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页
摘要: https://stackoverflow.com/questions/21744480/clone-a-list-map-or-set-in-dart 2 2 2 For lists and sets, I typically use List<String> clone = []..addAll 阅读全文
posted @ 2019-05-12 21:24 CrossPython 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 自带的: 单一 多次 rxdart: 阅读全文
posted @ 2019-05-09 17:33 CrossPython 阅读(367) 评论(0) 推荐(0) 编辑
摘要: StreamSubscription sc = StreamSubscription(); Stream s = Stream(); sc.addStream(s); var bs = sc.stream.asBroadcastStream(); // this works 阅读全文
posted @ 2019-05-09 16:19 CrossPython 阅读(439) 评论(0) 推荐(0) 编辑
摘要: stack 下套container, 发现最大的显示,小的都没显示, 把所有都套个POSITIONED, 都正常显示了. 阅读全文
posted @ 2019-05-09 13:48 CrossPython 阅读(308) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/1188468 2. mounted is true 当这个Widget调用createState 后, 会将buildContext 传入。 BuildContext 内有自己在widget tree上相关的信 阅读全文
posted @ 2019-05-07 22:43 CrossPython 阅读(683) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/hupo376787/p/10290840.html 上一篇文章说到 Flutter - 自动生成Android & iOS图标 通过flutter_launcher_icons 可以一键生成所有的Icon 到此基本什么问题也没有,如果你用ios设备和 阅读全文
posted @ 2019-05-07 21:49 CrossPython 阅读(466) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_33738578/article/details/87998565 http://www.cnblogs.com/sangwl/p/10400598.html *********** https://segmentfault.com/a/11 阅读全文
posted @ 2019-05-07 21:46 CrossPython 阅读(1029) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; import 'package:intro_slider/intro_slider.dart'; import 'package:shared_preferences/shared_preferences.dart'; main()=> runApp(MaterialApp( home: SplashScreen... 阅读全文
posted @ 2019-05-07 20:07 CrossPython 阅读(266) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/32810051/cannot-catch-socketexception/32810079#32810079 https://github.com/dart-lang/sdk/issues/25518 2 2 2 Asynch 阅读全文
posted @ 2019-05-07 16:30 CrossPython 阅读(435) 评论(0) 推荐(0) 编辑
摘要: First off, you will need to construct a sqlite database from your csv. This can be done in the following way: Create the necessary table (users.sql) C 阅读全文
posted @ 2019-05-07 16:00 CrossPython 阅读(700) 评论(0) 推荐(0) 编辑
摘要: https://github.com/flutter/flutter/issues/16491 阅读全文
posted @ 2019-05-07 15:34 CrossPython 阅读(1856) 评论(0) 推荐(0) 编辑
摘要: main.dart demo_isolates.dart 阅读全文
posted @ 2019-05-06 22:24 CrossPython 阅读(491) 评论(0) 推荐(0) 编辑
摘要: main.dart isolates.dart 阅读全文
posted @ 2019-05-06 21:50 CrossPython 阅读(718) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/51396769/flutter-bad-state-stream-has-already-been-listened-to The most common form of Stream can be listened only 阅读全文
posted @ 2019-05-06 21:38 CrossPython 阅读(3219) 评论(0) 推荐(0) 编辑
摘要: 1.1. 第一步:创建并握手 如前所述,Isolate 不共享任何内存并通过消息进行交互,因此,我们需要找到一种方法在「调用者」与新的 isolate 之间建立通信。 每个 Isolate 都暴露了一个将消息传递给 Isolate 的被称为「SendPort」的端口。(个人觉得该名字有一些误导,因为 阅读全文
posted @ 2019-05-06 12:16 CrossPython 阅读(835) 评论(0) 推荐(0) 编辑
摘要: main.dart isolates.dart another https://blog.csdn.net/PD_Wang/article/details/80165265 阅读全文
posted @ 2019-05-05 21:29 CrossPython 阅读(1036) 评论(0) 推荐(0) 编辑
摘要: https://github.com/pauldemarco/flutter_blue/issues/140 https://github.com/flutter/flutter/issues/16846 https://github.com/flutter/flutter/issues/26413 阅读全文
posted @ 2019-05-03 15:08 CrossPython 阅读(565) 评论(0) 推荐(0) 编辑
摘要: import 'dart:io'; import 'dart:convert'; main()async{ List a = ['1.cn','2.cn','3.cn','4.cn','5.cn','6.cn','7.cn','8.cn','9.cn','10.cn','11.cn','12.cn','13.cn','14.cn',' 阅读全文
posted @ 2019-05-02 13:17 CrossPython 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 有关SQLITE最完整的操作语句参考资料,应当是官方网址的http://www.sqlite.org/lang.html这个地方。 select max(id) from table 取最大id select count(*) from table 统计个数 选择满足条件的第一条记录select E 阅读全文
posted @ 2019-05-01 21:30 CrossPython 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 注意:build(BuildContext context)在 Scaffold.of(context)之前时,会报错,解决办法:通过build widget来解决,如下代码。 taskRun(){ ... } body: ... 阅读全文
posted @ 2019-05-01 11:42 CrossPython 阅读(412) 评论(0) 推荐(0) 编辑
摘要: import 'dart:async'; import 'package:semaphore/semaphore.dart'; import 'dart:io'; import 'dart:convert'; import 'dart:math'; import "dart:math"; void main() async { int maxCount = 5; LocalSemap... 阅读全文
posted @ 2019-05-01 08:52 CrossPython 阅读(257) 评论(0) 推荐(0) 编辑
摘要: SingleChildScrollView, CustomScrollView, container, init: double.inifinity. then use Expanded to constraint height, width both horizontal, and vertica 阅读全文
posted @ 2019-04-30 12:12 CrossPython 阅读(261) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; import 'package:rxdart/rxdart.dart'; import 'package:flutter/widgets.dart'; //import 'package:flutter_mvvm/core/viewmodel_provider.dart'; //import 'package... 阅读全文
posted @ 2019-04-29 19:08 CrossPython 阅读(168) 评论(0) 推荐(0) 编辑
摘要: Keep in mind that this would also create a custom transition animation and behave differently than the more complex MaterialPageRoute (e.g. the swipe- 阅读全文
posted @ 2019-04-29 16:00 CrossPython 阅读(428) 评论(0) 推荐(0) 编辑
摘要: babibobucecicudadedidufafugeguhehujijukakekulalelilumimomunapapipopuqiqurerirusasesisutatetituwawowuxixuyayeyiyuzizu xixibibibobodadajijijujukekekukul 阅读全文
posted @ 2019-04-28 19:46 CrossPython 阅读(318) 评论(0) 推荐(0) 编辑
摘要: class EditDict extends StatelessWidget { @override Widget build(BuildContext context) { // TODO: implement build return SafeArea(child: Scaffold( appBar: AppBar(title: Text('Edit ... 阅读全文
posted @ 2019-04-27 16:01 CrossPython 阅读(454) 评论(0) 推荐(0) 编辑
摘要: main.dart demo_isolates.dart 阅读全文
posted @ 2019-04-25 14:41 CrossPython 阅读(213) 评论(0) 推荐(0) 编辑
摘要: SingleChildScrollView 阅读全文
posted @ 2019-04-25 10:38 CrossPython 阅读(471) 评论(0) 推荐(0) 编辑
摘要: The fix for this is to set the Scaffold property:resizeToAvoidBottomPadding: false, 阅读全文
posted @ 2019-04-25 10:08 CrossPython 阅读(208) 评论(0) 推荐(0) 编辑
摘要: Flutter数据库Sqflite之增删改查 简介 sqflite是Flutter的SQLite插件,支持iOS和Android,目前官方版本是sqflite1.1.3 sqflite插件地址:https://pub.dartlang.org/packages/sqflite#-readme-tab 阅读全文
posted @ 2019-04-24 12:39 CrossPython 阅读(942) 评论(0) 推荐(0) 编辑
摘要: BottomNavigationBar( type: BottomNavigationBarType.fixed, onTap: (value){if more then 3 items,, use this. 阅读全文
posted @ 2019-04-23 20:46 CrossPython 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Flutter中的手势系统有两个层次。第一层具有原始指针事件,其描述了穿过屏幕的指针(例如触摸、鼠标和触控笔)的位置和移动。第二层具有手势,其描述由一个或多个指针移动组成的语义动作。 指针指针代表用户与设备屏幕交互的原始数据。有四种类型的指针事件: PointerDownEvent:指针已经在特定位 阅读全文
posted @ 2019-04-23 19:38 CrossPython 阅读(565) 评论(0) 推荐(0) 编辑
摘要: import 'dart:async'; import 'package:semaphore/semaphore.dart'; import 'dart:io'; import 'dart:convert'; void main() async{ List a = ['zizi.cn','wuwu.cn','baba.cn','hehe.cn','mama.cn','ququ.cn','k... 阅读全文
posted @ 2019-04-21 20:57 CrossPython 阅读(273) 评论(0) 推荐(0) 编辑
摘要: https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html 阅读全文
posted @ 2019-04-20 14:52 CrossPython 阅读(215) 评论(0) 推荐(0) 编辑
摘要: http://www.cndartlang.com/841.html 阅读全文
posted @ 2019-04-18 21:30 CrossPython 阅读(102) 评论(0) 推荐(0) 编辑
摘要: server client 阅读全文
posted @ 2019-04-18 21:24 CrossPython 阅读(171) 评论(0) 推荐(0) 编辑
摘要: connectivity This plugin allows Flutter apps to discover network connectivity and configure themselves accordingly. It can distinguish between cellula 阅读全文
posted @ 2019-04-18 16:28 CrossPython 阅读(227) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/yichengace/article/details/80167878 阅读全文
posted @ 2019-04-17 23:14 CrossPython 阅读(124) 评论(0) 推荐(0) 编辑
摘要: TextField( controller: TextEditingController.fromValue(TextEditingValue( // 设置内容 text: inputText, // 保持光标在最后 selection: TextSelection.fromPosition(Tex 阅读全文
posted @ 2019-04-16 19:09 CrossPython 阅读(2479) 评论(0) 推荐(0) 编辑
摘要: https://github.com/flutter/flutter/issues/18828 https://blog.csdn.net/u011272795/article/details/83010974 <<<<<<< https://medium.com/saugo360/flutter- 阅读全文
posted @ 2019-04-16 18:59 CrossPython 阅读(440) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 23 下一页