08 2019 档案

flutter 常用类型
摘要://数字类型 void _numType() { num num1 = -1.0;//是数字类型的父类 num num2 = 2; //是数字类型的父类 int int1 = 3; //只能是整数 double d1 = 1.68; //双精度, print("num:$num1 num:$num2 int: $int1 double:$d1"); print... 阅读全文
posted @ 2019-08-26 17:58 琴儿Aline 阅读(1105) 评论(0) 推荐(0) 编辑
flutter GridViewWidget
摘要:创建GridView 创建的方式 阅读全文
posted @ 2019-08-26 15:33 琴儿Aline 阅读(195) 评论(0) 推荐(0) 编辑
flutter 常用组件二
摘要:ListViewWidget 列表组件的使用 scrollDirection 属性 AXis.horizontal 横向滚动或者叫水平方向滚动 Axis.vertical 竖向 阅读全文
posted @ 2019-08-26 14:47 琴儿Aline 阅读(212) 评论(0) 推荐(0) 编辑
flutter常用组件
摘要:TextWidget 文本组件 TextWidget 的常用属性 TextAlign: 下面的五种对齐方式 左对齐, 右对齐, 居中对齐, 从开始位置对齐 完整代码 Container 容器组件 == >div padding 内边距 阅读全文
posted @ 2019-08-23 11:47 琴儿Aline 阅读(736) 评论(0) 推荐(0) 编辑
MaterialPageRoute 浅认识
摘要:https://book.flutterchina.club/chapter2/flutter_router.html MaterialPageRoute继承自PageRoute类,PageRoute类是一个抽象类,表示占有整个屏幕空间的一个模态路由页面,它还定义了路由构建及切换时过渡动画的相关接口 阅读全文
posted @ 2019-08-22 16:51 琴儿Aline 阅读(4644) 评论(5) 推荐(0) 编辑
swift - CALayer
摘要:1 // 2 // ViewController.swift 3 // CAlayerTest 4 // 5 // Created by 杨琴 on 2019/8/13. 6 // Copyright © 2019 AYQ. All rights reserved. 7 // 8 9 import UIKit 10 import QuartzCor... 阅读全文
posted @ 2019-08-15 11:22 琴儿Aline 阅读(458) 评论(1) 推荐(0) 编辑

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