10 2018 档案

flutter post的坑 <Bad state: Too many elements>
摘要:如果接收的元素太多那么像下面这样写会报:Bad state: Too many elements 可以改为下面的写法解决问题: 阅读全文

posted @ 2018-10-28 03:07 --LP-- 编辑

flutter import的坑
摘要:方式一: 方式二: 这两种不同的引入方式将会导致在上面两图调用的 LeiTu.leiJiTu 是两个不同的变量 阅读全文

posted @ 2018-10-28 01:54 --LP-- 编辑

flutter post 带参数写法
摘要:import 'package:flutter/material.dart'; import 'scenery/snacks.dart'; import 'dart:io'; import 'dart:convert'; void main() async { HttpClient client = new HttpClient(); var request = await clie... 阅读全文

posted @ 2018-10-27 01:09 --LP-- 编辑

flutter GridView简单使用
摘要:child: new Container( color: Colors.deepOrange, child: new GridView.count( crossAxisCount: 2, padding: cons... 阅读全文

posted @ 2018-10-16 23:27 --LP-- 编辑

flutter 方向类
摘要:new Container( alignment: Alignment.bottomCenter, 阅读全文

posted @ 2018-10-16 23:21 --LP-- 编辑

flutter Row里面元素居中显示
摘要:直接上代码: 阅读全文

posted @ 2018-10-16 23:17 --LP-- 编辑

flutter 在状态类里拿到 (class SnacksPage extends StatefulWidget )SnacksPage 里的变量
摘要:import 'package:flutter/material.dart'; class SnacksPage extends StatefulWidget { SnacksPage({Key key, this.title}) : super(key: key); final String title; @override _SnacksPageState createS... 阅读全文

posted @ 2018-10-16 22:47 --LP-- 编辑

layabox typescript 安装固定版本
摘要:安装最新版本方法: https://blog.csdn.net/adelais__/article/details/79181474 固定版本(比如2.1.5): 阅读全文

posted @ 2018-10-12 15:14 --LP-- 阅读(1931) 评论(0) 推荐(0) 编辑

layabox 1 基础
摘要:屏幕适配: class GameMain{ public static gameStart:GameStart; public static gameView:GameView; public static gameOver:GameOver; constructor() { Laya.init(8 阅读全文

posted @ 2018-10-12 11:35 --LP-- 阅读(918) 评论(0) 推荐(0) 编辑

flutter ListView简介
摘要:没有 shrinkWrap:true 的话,ListView的大小是占满整个Container 以上为基本使用 阅读全文

posted @ 2018-10-09 11:44 --LP-- 阅读(317) 评论(0) 推荐(0) 编辑

坑 flutter Positioned相关
摘要:报错: Positioned widgets must be placed directly inside Stack widgets. 阅读全文

posted @ 2018-10-09 10:51 --LP-- 阅读(2189) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示