goosebumps 0.1.0 copy "goosebumps: ^0.1.0" to clipboard
goosebumps: ^0.1.0 copied to clipboard

A package that randomly plays horror-themed audio clips.

example/lib/main.dart

import 'package:goosebumps/goosebumps.dart';
import 'package:flutter/material.dart';

void main() {
  Horror.init(frequency: Frequencies.veryHigh);
  // To be less conspicuous, you can use this instead:
  // WidgetFlutterBinding.ensureInitialized();
  
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Goosebumps Demo',
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Goosebumps Demo'),
        ),
        body: const Center(
          child: Text(
            'Shake your device to enable/disable the sound!',
            style: TextStyle(fontSize: 20),
          ),
        ),
      ),
    );
  }
}
2
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A package that randomly plays horror-themed audio clips.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

audioplayers, flutter, shake, vibration

More

Packages that depend on goosebumps