pickafeature 1.0.0 copy "pickafeature: ^1.0.0" to clipboard
pickafeature: ^1.0.0 copied to clipboard

Flutter SDK for pick a feature — collect user feedback and feature requests directly inside your app. Includes drop-in UI widgets and a typed API client.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:pickafeature/pickafeature.dart';

// Replace with your real API key from https://pickafeature.com/settings
// (Settings → API Keys section in your dashboard)
const String kPickAFeatureApiKey = 'YOUR_API_KEY_HERE';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await PickAFeature.initialize(
    config: PickAFeatureConfig(
      apiKey: kPickAFeatureApiKey,
    ),
  );

  runApp(const ExampleApp());
}

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'pick a feature — example',
      theme: ThemeData(
        colorSchemeSeed: Colors.indigo,
        useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Feature requests')),
      body: PickAFeatureScreen(
        config: PickAFeatureConfig(
          apiKey: kPickAFeatureApiKey,
          customTitle: 'What should we build next?',
          customSubtitle: 'Suggest, vote, comment',
          showEmailField: true,
        ),
      ),
    );
  }
}
0
likes
0
points
207
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for pick a feature — collect user feedback and feature requests directly inside your app. Includes drop-in UI widgets and a typed API client.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info_plus, flutter, flutter_localizations, http, package_info_plus, shared_preferences, url_launcher, uuid

More

Packages that depend on pickafeature