摘要: Flutter的核心设计思想便是“一切皆Widget” 1、应用入口main函数,runApp功能是启动Flutter应用,它接受一个 Widget参数 void main() { runApp(const MyApp()); } 2、MyApp 继承了 StatelessWidget类,可以看出应 阅读全文
posted @ 2024-07-01 16:22 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; void main() { runApp(const GoWaterMyApp()); } class GoWaterMyApp extends StatelessWidget { const GoWaterMyApp( 阅读全文
posted @ 2024-07-01 14:54 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; void main() { runApp(const GoWaterMyApp()); } class GoWaterMyApp extends StatelessWidget { const GoWaterMyApp( 阅读全文
posted @ 2024-07-01 11:32 飞雪飘鸿 阅读(1) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; import 'package:gowater/widget/buy-water.dart'; import 'package:gowater/widget/history.dart'; // // void main( 阅读全文
posted @ 2024-07-01 10:05 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL