摘要: import 'package:flutter/material.dart'; class News extends StatefulWidget { final String title,imglink; News(this.title,this.imglink); @override createState() => new NewsState(); } class ... 阅读全文
posted @ 2019-02-25 16:52 飞雪飘鸿 阅读(114) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; class News extends StatefulWidget { final String title,imglink; News(this.title,this.imglink); @override createState() => new NewsState(); } class ... 阅读全文
posted @ 2019-02-25 16:52 飞雪飘鸿 阅读(192) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; class News extends StatefulWidget { final String title,imglink; News(this.title,this.imglink); @override createState() => new NewsState(); } class ... 阅读全文
posted @ 2019-02-25 16:52 飞雪飘鸿 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 区别:for循环,就是遍历某一对象,通俗说就是根据循环次数限制做多少次重复操作。while循环,是当满足什么条件的时候,才做某种操作。 for为遍历循环 while为直到循环 阅读全文
posted @ 2019-02-25 15:58 飞雪飘鸿 阅读(918) 评论(0) 推荐(0) 编辑
摘要: main(List args) { int age = 60; String status = age < 50 ? "Still young" : "Old Man"; } 阅读全文
posted @ 2019-02-25 15:54 飞雪飘鸿 阅读(806) 评论(0) 推荐(0) 编辑
摘要: fullName(String firstName, String lastName) => "$firstName $lastName"; 阅读全文
posted @ 2019-02-25 15:49 飞雪飘鸿 阅读(137) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL