FeatureBuddy logo
FeatureBuddy
Flutter

Getting started

FeatureBuddy Flutter SDK getting started

FeatureBuddy provides an easy way to collect feedback from your users and build a better product.

Requirements

Quick start

Installing

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

Initialize FeatureBuddy by calling 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(),
    );
  }
}