flutter - 如何为 Flutter 应用添加首次启动视觉帮助?
问题描述
我不知道通常在移动应用程序首次启动时显示的交互式视觉指南的名称是什么,如何将其添加到我的 Flutter 应用程序中?谢谢
解决方案
请使用这个包https://github.com/pyozer/introduction_screen
代码片段
IntroductionScreen(
pages: listPagesViewModel,
onDone: () {
// When done button is press
},
onSkip: () {
// You can also override onSkip callback
},
showSkipButton: true,
skip: const Icon(Icons.skip_next),
next: const Icon(Icons.next),
done: const Text("Done", style: TextStyle(fontWeight: FontWeight.w600))
);
推荐阅读
- laravel-nova - laravel nova BelongsToMany - BelongsTo in pivot
- perl - 如何在 perl 脚本中创建属性文件
- python - 来自大型 python 对象的 dataFrame 数据
- django - UpdateView 问题:在 url 中传递的已清理数据不在实例中
- r - 在 U-SQL 中运行 R 脚本
- azure - 秘密名称不支持特殊字符
- javascript - React Date Picker Onchange 方法令人困惑
- java - Java LocaleDate 或 DateTime 用于检查汽车是否需要进行不定期检查
- visual-studio - 如何在 Visual Studio 的 React Native 中打开现有项目?
- asp.net - Crystal Reports 不显示数据库中的记录,只显示列