摘要: import 'package:flutter/material.dart'; class ScaffoldPage extends StatefulWidget { const ScaffoldPage({Key? key}) : super(key: key); @override State< 阅读全文
posted @ 2024-06-05 17:50 飞雪飘鸿 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @overri 阅读全文
posted @ 2024-06-05 17:49 飞雪飘鸿 阅读(5) 评论(0) 推荐(0) 编辑
摘要: # 以下两个国际化 flutter_localizations: sdk: flutter intl: ^0.17.0 # Add this line # 去除网页URL中的“#”(hash) https://flutter.cn/docs/development/ui/navigation/url 阅读全文
posted @ 2024-06-05 15:14 飞雪飘鸿 阅读(14) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/material.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { @override Widget build(BuildContext con 阅读全文
posted @ 2024-06-05 14:59 飞雪飘鸿 阅读(14) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/widgets.dart'; void main() => runApp(const MyApp) //无状态组件开始 class MyApp extends StatelessWidget { const MyApp({Key? key}) : su 阅读全文
posted @ 2024-06-05 12:38 飞雪飘鸿 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import 'package:flutter/widgets.dart'; void main() => runApp(); //main 函数为应用程序的入口 void main() { //runApp(Widget参数),它的功能是启动Flutter应用 runApp(const MyApp 阅读全文
posted @ 2024-06-05 11:42 飞雪飘鸿 阅读(16) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL