上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 38 下一页

2019年12月5日

flutter RaisedButton

摘要: import 'package:flutter/material.dart'; void main() { runApp( MaterialApp( title: 'Flutter gesture', // home: TutorialHome(), home: _home(), )); } class _home extends StatefulWidget... 阅读全文

posted @ 2019-12-05 13:55 高彰 阅读(418) 评论(0) 推荐(0) 编辑

2019年12月4日

flutter Icon

摘要: 跑起来吧少年。 阅读全文

posted @ 2019-12-04 19:08 高彰 阅读(915) 评论(0) 推荐(0) 编辑

flutter text

摘要: import 'package:flutter/material.dart'; void main() => runApp(MyApp()); class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { // TODO: implement build retur... 阅读全文

posted @ 2019-12-04 18:32 高彰 阅读(245) 评论(0) 推荐(0) 编辑

flutter image(本地调动和网络加载)

摘要: 本地使用需要注意:https://www.jianshu.com/p/fb878254b393 跑起来吧少年 阅读全文

posted @ 2019-12-04 18:18 高彰 阅读(874) 评论(0) 推荐(0) 编辑

flutter 页面跳转1

摘要: 跑起来先 阅读全文

posted @ 2019-12-04 11:52 高彰 阅读(135) 评论(0) 推荐(0) 编辑

2019年12月2日

flutter 热更新(UI更新和UI+事件功能更新)

摘要: 1.只更新UI 保存就好,common+s(MAC)或者点击 2.UI+事件功能更新 在控制台那里点击绿环建环绕的即可 阅读全文

posted @ 2019-12-02 10:54 高彰 阅读(1882) 评论(0) 推荐(0) 编辑

flutter 代码格式化

摘要: 在Android stdio中选中需要的文件鼠标右键如图: 选中Reformat Code with dartfmt 格式化后 阅读全文

posted @ 2019-12-02 10:49 高彰 阅读(1270) 评论(0) 推荐(0) 编辑

2019年11月29日

flutter SingleChildScrollView就像是IOS里面的ScrollView

摘要: import 'package:flutter/material.dart'; void main() { runApp( MaterialApp( title: 'Flutter gesture', home: LearnListView(), )); } class LearnListView extends StatefulWidget{ @override ... 阅读全文

posted @ 2019-11-29 17:32 高彰 阅读(580) 评论(0) 推荐(0) 编辑

flutter ListView就像iOS的tableview,安卓就是Listview GridView Widget相当于iOS的collectionview 和点击事件

摘要: 简单的List(纵向) 简单的List(横向) 使用长列表,自定义参数 创建不同类型子项的List 创建一个 Grid List(就是使用形如iOS的collectionview) 左右滑动删除List项 定义参数Listview cell的点击事件是通过touch实现的 阅读全文

posted @ 2019-11-29 17:14 高彰 阅读(2051) 评论(0) 推荐(0) 编辑

flutter 获取当前系统时间,持续更新中

摘要: main() { //创建时间对象,获取当前时间 DateTime now = new DateTime.now(); print("当前时间:$now"); //创建时间对象,并指定时间 DateTime victoryDay = new DateTime(1945,9,9); print("日本于${victoryDay.year}年${victoryDay.mo... 阅读全文

posted @ 2019-11-29 16:06 高彰 阅读(9560) 评论(0) 推荐(0) 编辑

上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 38 下一页

导航