v0.1.3hotspot
簡單的旅遊、教練標記和教學。只要標記您的組件即可!
158喜歡 112近 30 天下載150Pub 分數
AndroidiOSWebmacOSWindowsLinux
簡單的旅遊、教練標記和教學。只要標記您的組件即可!
以下為英文專案原文快照,最新內容請造訪 GitHub。
The simplest way to make beautiful tours, coachmarks, and tutorials.
Wrap your app, screen, or view with HotspotProvider
class HomeScreen extends StatelessWidget {
const HomeScreen({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return const HotspotProvider(
child: Scaffold(
body: // ...
),
);
}
}
Add hotspot callouts to your widget tree
class Example extends StatelessWidget {
const Example({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return IconButton(
icon: const Icon(Icons.play_arrow),
onPressed: () {
// ...
},
).withHotspot(
order: 1,
title: 'Tour It!',
text: 'This is the first callout in the tour!',
);
}
}
Start a flow
HotspotProvider.of(context).startFlow()
依賴清單 3 項
{"sdk":"flutter"}^6.1.2{"sdk":"flutter"}先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗