Enjoying the docs? Start building free, no credit card needed. Get started →
Docs / Flutter

Mobile

Flutter

Add a native feature request board to your Flutter app. One package, one line of setup.

Needs Flutter 3.10 or later and Dart 3.0 or later. Runs on iOS, Android and the web.

Install

  1. Add the package

    The package is on pub.dev. Add it from your project folder:

    flutter pub add fewchurs
  2. Or edit pubspec.yaml

    If you prefer, add it to your app's pubspec.yaml yourself:

    pubspec.yaml
    dependencies:  fewchurs: ^1.7.1
    flutter pub get
1.7.1 is the latest version. It brings in fewchurs_core, the API client, on its own, so you don't need to add it.

Platform setup

Android: release builds need the internet permission in android/app/src/main/AndroidManifest.xml. Debug builds have it already, which is why a missing one only shows up in release.

AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET"/>

iOS and web need nothing.

Set up

Call configure once, before runApp. Use the API key from your dashboard. It makes no network calls, so it doesn't slow down startup.

main.dart
import 'package:fewchurs/fewchurs.dart';import 'package:flutter/material.dart';void main() {  Fewchurs.configure(apiKey: 'fr_live_xxx');  runApp(const MyApp());}

Show the board

Open the board as a full-screen page. It handles everything inside: the Top and New tabs, votes, comments and new requests.

FilledButton(  onPressed: () => Fewchurs.showBoard(context),  child: const Text('Suggest a feature'),)

Or as a sheet. It's a bottom sheet on phones. On screens 840 px and wider, like the web and tablets in landscape, it slides in from the side at full height, and requests and the submit form open inside it.

Fewchurs.showBoardSheet(context);// Always a side sheet, or always a bottom sheetFewchurs.showBoardSheet(context, position: FewchursSheetPosition.side);Fewchurs.showBoardSheet(context, position: FewchursSheetPosition.bottom);

Or put FewchursBoard anywhere, like a tab or a route:

// In a tab or a page that has its own app barconst FewchursBoard(showAppBar: false)

On tablets and on the web the board shows the list and the open request side by side.

To open one request, for example from a deep link or a notification, pass its ID:

Fewchurs.showBoard(  context,  board: FewchursBoard(showCloseButton: true, initialFeatureId: id),);

Colors and theme

By default the board follows your app's Theme: colors, fonts and light or dark mode. To change it, add a FewchursThemeData to your theme's extensions.

MaterialApp(  theme: ThemeData(    colorSchemeSeed: const Color(0xFFED5F18),    extensions: const [      FewchursThemeData(        cardRadius: 14,        voteButtonStyle: VoteButtonStyle.pill,      ),    ],  ),)

The package README covers every option: tabs, copy and translations, iOS-style widgets, custom pieces of the board, and building your own UI.

What your plan changes

Your plan is applied on our servers, so you never need to change code or update the package when it changes.

FreeStarterPro
Requests the board listsFirst 5First 200All
"Powered by Fewchurs" lineShownHiddenHidden

Newer requests are still saved and show in your dashboard. A request someone just submitted appears on their board straight away, but once the app is past its limit it leaves the list on the next refresh. See pricing.

About the API key

It's fine to put this key in your app. It can only do what the board does: list, vote, comment and suggest. It can't change your settings or read anything private.

The key only works in the apps you added in the dashboard. The package sends your app's ID for you: the Bundle ID on iOS and the package name on Android. On the web the browser sends your domain. Your Android package name is the applicationId in android/app/build.gradle. Your iOS Bundle ID is in Xcode under Runner → General. See find your app IDs.

If the board says "This API key is not set up for …", add the ID it names to your app in the dashboard. If you just added the package and the app ID can't be read, fully restart the app instead of hot reloading.

The package gives each device a random ID and saves it on the device. That is how it remembers votes without an account. Read more in How it works.