我不知道在第一次启动移动应用程序时通常显示的交互式视觉指南的名称是什么,如何将其添加到我的颤振应用程序中?
谢谢
最佳答案
请使用此包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))
);
关于flutter - 如何为Flutter应用添加首次启动视觉帮助?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/57686383/