sonis_feedback 0.3.10
sonis_feedback: ^0.3.10 copied to clipboard
Sonis Panel fix widget for Flutter - a button in the corner or a shake, describe a fix, mark the problem on the screenshot, send it to the project's fixes.
example/main.dart
import 'package:flutter/material.dart';
import 'package:sonis_feedback/sonis_feedback.dart';
final navigatorKey = GlobalKey<NavigatorState>();
void main() {
runApp(
SonisFeedback(
apiKey: 'pk_YOUR_PROJECT_KEY',
navigatorKey: navigatorKey,
child: MaterialApp(
navigatorKey: navigatorKey,
home: Scaffold(
appBar: AppBar(title: const Text('My app')),
body: const Center(
child: TextButton(
onPressed: SonisFeedback.open,
child: Text('Send feedback'),
),
),
),
),
),
);
}