v0.1.3hotspot
Passeios simples, marcas de orientação e tutoriais. Basta marcar seus widgets!
158Curtidas 277Downloads em 30 dias150Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Passeios simples, marcas de orientação e tutoriais. Basta marcar seus widgets!
{"sdk":"flutter"}^6.1.2{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
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()