Getting started
FeatureBuddy provides an easy way to collect feedback from your users and build a better product.
Requirements
- FeatureBuddy Account
- FeatureBuddy API Key, available in Settings > API Key
Quick start
Installing
To use this plugin, add featurebuddy
as a dependency in your pubspec.yaml file (and run an implicit dart pub get
):
dependencies: featurebuddy: 1.0.0
Alternatively run this command:
flutter pub add featurebuddy
Base usage
Make sure to run FeatureBuddyConfig.configure(apiKey: 'YOUR_API_KEY_GOES_HERE');
in your main.dart
file.
After that, you can use the FeatureBuddy
widget in your app.
import 'package:featurebuddy/featurebuddy.dart';
void main() { FeatureBuddyConfig.configure(apiKey: 'YOUR_API_KEY_GOES_HERE'); runApp(const MyApp());}
class MyApp extends StatelessWidget { const MyApp({super.key});
@override Widget build(BuildContext context) { return const MaterialApp(home: FeaturesScreen()); }}
class FeaturesScreen extends StatelessWidget { const FeaturesScreen({super.key});
@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: const Text('Features'), ), body: const FeatureBuddy(), ); }}