Use appgram_flutter for Flutter applications. Version 1.0.0 declares Dart 3+ and Flutter 3.10+ requirements.
Install
flutter pub add appgram_flutter:^1.0.0
The package declares its Riverpod and HTTP dependencies. Keep the resolved package versions in your application’s lockfile.
Show a feedback screen
Replace the project details in lib/main.dart:
import 'package:flutter/material.dart';
import 'package:appgram_flutter/appgram_flutter.dart';
void main() {
runApp(
const AppgramProvider(
config: AppgramConfig(
projectId: 'YOUR_PROJECT_ID',
orgSlug: 'your-org',
projectSlug: 'your-project',
),
child: MaterialApp(
home: Scaffold(
body: SafeArea(child: WishList()),
),
),
),
);
}
AppgramProvider creates the SDK’s Riverpod scope and configuration. Keep AppGram widgets inside that provider. WishList displays your project’s requests with its built-in loading, error, filtering, and pagination controls.
Create and approve the sample request from Getting started, confirm it appears in WishList, then cast a vote and refresh the dashboard to verify persistence. Check project selection and approval if the screen receives an empty successful response.
Configure other surfaces
Supply orgSlug and projectSlug for release routing. The API origin override is apiUrl; its default is https://api.appgram.dev. Do not add /api/v1 to that origin.
The package also exports roadmap, help, support, status, survey, contact-form, and blog widgets and providers. Read the specific symbol before wiring callbacks or request models.
Device fingerprinting is enabled by default. Set enableFingerprinting: false when your integration should not initialize it. Read Customer identity and client credentials.
Reference coverage
The Flutter reference currently imports the package’s existing Dartdoc symbol index. It lists public classes and functions, but has less signature detail than a full Dartdoc HTML archive. This setup guide supplies a complete first screen; consult the linked package source when a symbol needs details absent from the index.