v0.1.3hotspot
간단한 투어, 코치마크 및 튜토리얼. 위젯에 태그만 하세요!
158좋아요 27730일 다운로드150Pub 점수
AndroidiOSWebmacOSWindowsLinux
간단한 투어, 코치마크 및 튜토리얼. 위젯에 태그만 하세요!
{"sdk":"flutter"}^6.1.2{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
The simplest way to make beautiful tours, coachmarks, and tutorials.
demo of under, critically, and over damped Flutter curvesWrap 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()