上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 188 下一页
摘要: 一,代码: import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; class HistoryDemo extends StatefulWidget { @override _HistoryDem 阅读全文
posted @ 2025-04-19 10:15 刘宏缔的架构森林 阅读(41) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; class MyviewDemo extends StatefulWidget { @override State<MyviewDemo> createState() => _MyviewDemoState( 阅读全文
posted @ 2025-04-19 10:15 刘宏缔的架构森林 阅读(200) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; class StickyTabPage extends StatefulWidget { @override _StickyTabPageState createState() => _StickyTabPa 阅读全文
posted @ 2025-04-12 08:52 刘宏缔的架构森林 阅读(230) 评论(0) 推荐(0)
摘要: 一,代码: import 'dart:ui'; import 'package:flutter/material.dart'; class TabPage extends StatefulWidget { @override State<TabPage> createState() => _TabP 阅读全文
posted @ 2025-04-12 08:51 刘宏缔的架构森林 阅读(245) 评论(0) 推荐(0)
摘要: 一,代码: import 'dart:math'; import 'package:flutter/material.dart'; class StickyPage extends StatelessWidget { @override Widget build(BuildContext conte 阅读全文
posted @ 2025-04-12 08:51 刘宏缔的架构森林 阅读(439) 评论(0) 推荐(0)
摘要: 一,报错信息: Exception caught by rendering library The following assertion was thrown during performResize(): Vertical viewport was given unbounded height. 阅读全文
posted @ 2025-04-12 08:50 刘宏缔的架构森林 阅读(151) 评论(0) 推荐(0)
摘要: 一,下载第三方库 地址: https://pub.dev/packages/carousel_slider 编辑pubspec.yaml dependencies: flutter: sdk: flutter carousel_slider: ^5.0.0 然后点击pub get下载 二,代码: i 阅读全文
posted @ 2025-04-12 08:48 刘宏缔的架构森林 阅读(289) 评论(0) 推荐(0)
摘要: 一,代码: 添加一行 debugShowCheckedModeBanner: false, //隐藏debug的角标 即可 例子: class MyApp extends StatelessWidget { // This widget is the root of your application 阅读全文
posted @ 2025-04-12 08:48 刘宏缔的架构森林 阅读(292) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; import '../tabpages/MyHomePage.dart'; import '../tabpages/ProfilePage.dart'; import '../tabpages/Webview 阅读全文
posted @ 2025-04-12 08:47 刘宏缔的架构森林 阅读(193) 评论(0) 推荐(0)
摘要: 一,代码: import 'package:flutter/material.dart'; import '../tabpages/MyHomePage.dart'; import '../tabpages/ProfilePage.dart'; import '../tabpages/Webview 阅读全文
posted @ 2025-04-12 08:44 刘宏缔的架构森林 阅读(189) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 188 下一页