shake_flutter 14.1.0 shake_flutter: ^14.1.0 copied to clipboard
Shake is a tool for receiving better bug reports automatically. Reports arrive to you instantly with a ton of useful data so you can fix them 50X faster.
Shake for Flutter #
Flutter plugin for Shake.
How to use #
Install Shake #
Add Shake to your pubspec.yaml
file.
dependencies:
shake_flutter: ^14.1.0
Install package by running command in terminal.
flutter packages get
Start Shake #
Add Shake import.
import 'package:shake_flutter/shake_flutter.dart';
Call Shake.start()
method in the main.dart
file.
void main() {
WidgetsFlutterBinding.ensureInitialized();
Shake.setInvokeShakeOnShakeDeviceEvent(true);
Shake.setShowFloatingReportButton(false);
Shake.setInvokeShakeOnScreenshot(false);
Shake.start('client-id', 'client-secret');
runApp(MyApp());
}
Replace client-id
and client-secret
with the actual values you have in your workspace settings.
Documentation #
Visit documentation for more details.