热门 最新 精选 话题 上榜
ist检测是否安装成功
原创 11天前
35阅读
pygame 安装
效果展示项目结构
原创 11天前
31阅读
(17)Flutter BottomNavigationBar
第一种  不建议网址:​​https://javiercbk.github.io/json_to_dart/​​可以将json直接转换为工具类 第二种 建议Android Studio  可以装插件 FlutterJsonBeanFactory下载后重启由于他会抽取一些不必要创建的要比网站创建的数据更加简洁 
原创 11天前
34阅读
在线json 转dart实体类
从网上得知如下信息
原创 11天前
42阅读
定位发现app的打包速度比较慢定位到一个插件   gioenable 影响了整体的打包速度参照文档 ​​https://docs.growingio.com/v3/developer-manual/sdkintegrated/android-sdk/faq/class3​​ 集成后很明显 true和false 被定格了 无法在编译的时候去修改 只能每次手动配置 非常影
原创 11天前
44阅读
动态修改 gradle.properties的值 提升编译gio速度
时间戳转换成时间DateTim
原创 11天前
100阅读
import 'package:flutter/material.dart';import 'package:rxdart/rxdart.dart';class RxDartDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar:
原创 11天前
47阅读
Flutter RxDart处理数据  PublishSubject map与where 与debounce的应用
修改下文件的编码格式就好了!或者删除文件重新创建复制
原创 11天前
64阅读
Flutter 中文乱码
安装​​https://pkg.phpcomposer.com/#how-to-install-composer​​然后Some settings on your machine may cause stability issues with Composer. If you encounter issues, try to change the following:The Windows One
原创 11天前
16阅读
少写一个Return....
原创 11天前
28阅读
Row‘s children must not contain any null values, but a null value was found at index 0
中括号表示。需要按照顺序传递参数。大括号表示可以不按照顺序传递参数。必须传递参数可以使用requeir装饰
原创 11天前
10阅读
Flutter [] 与 {} 参数上面的中括号与大括号
buildBanner() { // This is used in the platform side to register the view. if (AGparams.networkParamsData == null) { return [Container()]; } return [Container(),Container()];}将数组拼接到一个C
原创 11天前
2阅读
Flutter ...三个点 拼接数组操作
The following table shows how Dart values are received on the platform side and vice versa:DartJavaKotlinObj-CSwiftnullnullnullnil (NSNull when nested)nilbooljava.lang.BooleanBooleanNSNumber numberWit
原创 11天前
0阅读
布的时候就需要重新登录了
原创 11天前
26阅读
务必对项目备份后进行操作,以免出现失败无法回退的问题用git备份最佳配置代码dart migrate --apply-changes
git
原创 11天前
4阅读
项目背景原生Android 集成 Flutter Module 原生Android里面加了一个入口。这个入口跳进去是Flutter页面 但是需要传递路由参数并与原生形成交互最下面是解决方案。上面是整个的采坑流程。这个坑还很深。还没空往下看看是为什么。因为项目在走迭代。以后感兴趣或者是有能力分析出来的小伙伴可以发博客给我看看​​https://flutter.cn/docs/develop
原创 11天前
5阅读
Container( decoration: BoxDecoration( color: MyColors.color_main, border: Border.all(width: 1, color: Colors.white),
原创 11天前
35阅读
正常我们使用组件var response = await requestApi(...); setState((){ this.data = response.data; })然后这个 requestApi 还没走完 那么点击返回的话 控件就没了比如切换页面报错:setState() called after dispose()我们可以包一层来解决这个问题var r
原创 11天前
13阅读
import 'dart:convert' as convert;import 'dart:convert';import 'dart:developer';import 'dart:io';import 'package:anguo/utils/app_info_utlis.dart';import 'package:anguo/utils/my_flutter_toast.dart';impo
原创 11天前
28阅读
import 'package:flutter/material.dart';import 'package:my_translate/pages/index_page.dart';class OpenAnimation extends StatefulWidget { const OpenAnimation({Key? key}) : super(key: key); @override
原创 11天前
25阅读
em.AnAction;import...
原创 11天前
26阅读
IntelliJ IDEA 编写Android Studio插件【基础入门】快速搭建一个Action
ur Money or Your Life》(你的钱就是你的命,意
原创 11天前
12阅读
首先Fragment必须是单例模式companion object { @JvmStatic fun newInstance(): EventListFragment { return instance!! } private var instance: EventListFragment? = null
原创 11天前
21阅读
贪吃蛇小游戏。 import 'dart:async';import 'dart:math';import 'package:flutter/material.dart';import 'package:flutter/services.dart';void main() { runApp(MyApp());}class MyApp extends StatelessWidget {
原创 11天前
39阅读
Flutter 贪吃蛇小游戏(要用上下左右控制的。。。没键盘的不行哦)245行
因为我目前使用的是targetSdkVersion : 28,改到29或者以上就不会出现这个问题了
原创 11天前
61阅读
解决方案也很简单。 使用Expanded就可以了Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Container( // margin: EdgeInsets.only(top: 4),
原创 11天前
41阅读
Timer().schedule(3000){ //执行的任务}
原创 11天前
0阅读
 效果展示  代码数量截图 实际源码import 'dart:async';import 'package:flutter/material.dart';void main() { runApp(MyApp());}class MyApp extends StatelessWidget { // This widget is the root of yo
原创 11天前
28阅读
Flutter 做一个类似超级玛丽 (想不起来名字 挺好玩反正)Flutter写个小游戏,欢迎一起撸代码 【185行 代码逆天改命】
 ​​https://pub.dev/packages/url_launcher​​import 'package:url_launcher/url_launcher.dart';new Center( child: new FlatButton( onPressed: () => launch("tel:21213123123"),
原创 11天前
35阅读
相关法律农村建房子,原则应保留滴水。 如果给对方造成损害,应承担赔偿的责任。 任何一方无权擅自堵截。 法律链接:《民通意见》98、一方擅自堵截或独占自然流水影响他方正常生产、生活的,他方有权请求排除妨碍;造成他方损失的,应负赔偿责任。 99、相邻一方必须使用另一方的土地排水的,应当予以准许;但应在必要限度内使用并采取适当的保护措施排水,如仍造成损失的,由受益人合理补偿。 102、处理相邻房屋滴水纠
原创 11天前
24阅读