随笔分类 - flutter+dart
摘要:A Flutter Sound Pool for playing short media files. Sound Pool caches audio tracks in memory. This can be useful in following scenarios: lower latency
阅读全文
摘要:https://stackoverflow.com/questions/43813386/how-to-play-a-custom-sound-in-flutter Thanks for checking out Flutter! Flutter SDK today (as of May 5, 20
阅读全文
摘要:Image是一个用于展示图片的组件。支持 JPEG、PNG、GIF、Animated GIF、WebP、Animated WebP、BMP 和 WBMP 等格式。 Image 有许多的静态函数: new Image.asset - 用于从资源目录的显示图片。 new Image.network -
阅读全文
摘要: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
阅读全文
摘要:StreamSubscription sc = StreamSubscription(); Stream s = Stream(); sc.addStream(s); var bs = sc.stream.asBroadcastStream(); // this works
阅读全文
摘要:stack 下套container, 发现最大的显示,小的都没显示, 把所有都套个POSITIONED, 都正常显示了.
阅读全文
摘要:https://cloud.tencent.com/developer/article/1188468 2. mounted is true 当这个Widget调用createState 后, 会将buildContext 传入。 BuildContext 内有自己在widget tree上相关的信
阅读全文
摘要:https://www.cnblogs.com/hupo376787/p/10290840.html 上一篇文章说到 Flutter - 自动生成Android & iOS图标 通过flutter_launcher_icons 可以一键生成所有的Icon 到此基本什么问题也没有,如果你用ios设备和
阅读全文
摘要:https://blog.csdn.net/weixin_33738578/article/details/87998565 http://www.cnblogs.com/sangwl/p/10400598.html *********** https://segmentfault.com/a/11
阅读全文
摘要:import 'package:flutter/material.dart'; import 'package:intro_slider/intro_slider.dart'; import 'package:shared_preferences/shared_preferences.dart'; main()=> runApp(MaterialApp( home: SplashScreen...
阅读全文
摘要:https://stackoverflow.com/questions/32810051/cannot-catch-socketexception/32810079#32810079 https://github.com/dart-lang/sdk/issues/25518 2 2 2 Asynch
阅读全文
摘要: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
阅读全文
摘要:https://github.com/flutter/flutter/issues/16491
阅读全文
摘要:main.dart demo_isolates.dart
阅读全文
摘要:main.dart isolates.dart
阅读全文
摘要:https://stackoverflow.com/questions/51396769/flutter-bad-state-stream-has-already-been-listened-to The most common form of Stream can be listened only
阅读全文
摘要:1.1. 第一步:创建并握手 如前所述,Isolate 不共享任何内存并通过消息进行交互,因此,我们需要找到一种方法在「调用者」与新的 isolate 之间建立通信。 每个 Isolate 都暴露了一个将消息传递给 Isolate 的被称为「SendPort」的端口。(个人觉得该名字有一些误导,因为
阅读全文
摘要:main.dart isolates.dart another https://blog.csdn.net/PD_Wang/article/details/80165265
阅读全文
摘要:https://github.com/pauldemarco/flutter_blue/issues/140 https://github.com/flutter/flutter/issues/16846 https://github.com/flutter/flutter/issues/26413
阅读全文
浙公网安备 33010602011771号