v0.1.3hotspot
シンプルなツアー、コーチマーク、チュートリアル。ウィジェットにタグを付けるだけ!
158いいね 11230日間ダウンロード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 ↗