snaply 0.0.1-alpha.3
snaply: ^0.0.1-alpha.3 copied to clipboard
A Flutter plugin for instant bug reports with screenshots, screen recordings, device environment and logs.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:snaply/snaply.dart';
import 'package:snaply_example/app/example_app.dart';
void main() {
const exampleApp = ExampleApp();
// Enable Snaply based on your build configuration
const isSnaplyEnabled = true;
if (isSnaplyEnabled) {
SnaplyReporter.instance.init();
runApp(const SnaplyApp(child: exampleApp));
} else {
runApp(exampleApp);
}
}