fart_scroll 1.0.0 copy "fart_scroll: ^1.0.0" to clipboard
fart_scroll: ^1.0.0 copied to clipboard

Make your app fart while scrolling.

fart_scroll #

You want fart noises as you scroll? I've got you covered.

Everyone farts. And now your apps* can too.

Heavily inspired by fartscroll.js

How to use #

Simply mixin FartScrollMixin with your State and pass fartScrollController to a widget which takes a ScrollController.

class _HomePageState extends State<HomePage> with FartScrollMixin<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Home'),
      ),
      body: ListView.builder(
          controller: fartScrollController,
          itemCount: 500,
          itemBuilder: (_, index) {
            return ListTile(title: Text("Item $index"));
          }),
    );
  }
}
1
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Make your app fart while scrolling.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

audioplayers, flutter

More

Packages that depend on fart_scroll