Pakete, Repositories und App-Kategorien suchen

Cover von suggest_a_feature
Paketdetailsv0.6.0

suggest_a_feature

Fertiger Flutter-Paket zur Sammlung von Vorschlägen von Benutzern.

AndroidiOSmacOSWindowsLinux
30-Tage-Downloads
96
Likes
24
Pub-Punkte
150

Paket installieren

flutter pub add suggest_a_feature

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Ein fertiges Flutter-Paket, das Entwicklern hilft, Benutzer-Vorschläge direkt innerhalb ihrer Apps zu sammeln. Es bietet eine einfache, anpassbare Schnittstelle, über die Nutzer Feedback und Feature-Ideen einreichen können, wodurch der Prozess der Erhebung von Erkenntnissen vereinfacht wird. Mit Cross-Platform-Unterstützung entwickelt, funktioniert es nahtlos auf Android, iOS, macOS, Windows und Linux. Das Paket ist ideal für Apps, die sich durch nutzergetriebene Eingaben verbessern möchten, und bietet eine zugängliche Möglichkeit, Nutzer in die Produktentwicklung einzubinden. Es lässt sich einfach über pub add integrieren und beinhaltet den Quellcode auf GitHub für Transparenz und Anpassung.

Anwendungsfälle

  • Benutzerfeedback sammeln
  • Erfassung von Funktionsanforderungen
  • Verbesserung der App-Nutzbarkeit
  • Benutzerengagement steigern
  • Unterstützung der Produkt-Roadmap-Planung

Hauptmerkmale

  • Vorab erstelltes Vorschlagsformular
  • Plattformübergreifende Kompatibilität
  • Einfache Integration über pub
  • Anpassbare Benutzeroberfläche
  • Open-Source-Codebase

Geeignet für

  • Entwickler, die Benutzerfeedback suchen
  • Apps, die sich auf kontinuierliche Verbesserung konzentrieren
  • Teams, die agiles Entwicklung verwenden
  • Produktmanager, die Feature-Ideen verfolgen
  • Open-Source-Projekte

Hinweise

  • Benötigt benutzerdefinierten Backend zum Speichern von Vorschlägen
  • Beschränkt auf Frontend-Feedback-Sammlung
  • Könnte zusätzliche Überprüfungslogik erfordern
  • Nicht geeignet für Echtzeit-Kooperation
  • Das Design erfordert möglicherweise Markenanpassungen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

Suggest a Feature

What the Flutter

Crafted with passion by What the Flutter 🦜

Pub Build Status CodeFactor


This Flutter package is a ready-made module which allows other developers to implement additional menu in their own mobile app where users can share their suggestions about the application in real time, discuss them with others, and vote for each other's suggestions.

You can check interactive example here.

A small demo:

Usage

At first, you need to implement SuggestionsDataSource. This is an interface which we use to handle all the data-layer logic. There you can add the connection to your DB.

If you use firestore as a data source, you can use our ready-made implementation Suggest a feature Firestore.

Then you need to move the SuggestionsPage. For example:

Navigator.of(context).push(
  MaterialPageRoute(
    builder: (context) => SuggestionsPage(
      userId: '1',
      suggestionsDataSource: MyDataSource(
        userId: '1',
      ),
      theme: SuggestionsTheme.initial(),
      onUploadMultiplePhotos: null,
      onSaveToGallery: null,
      onGetUserById: () {},
    ),
  ),
);

If you want to give a user the ability to attach photos to suggestions and save them to the gallery, you just need to implement the onUploadMultiplePhotos and onSaveToGallery methods.

You can also either use our standard theme or create your own:

theme: SuggestionsTheme().copyWith(...),

Admin functionality

Admin functionality allows you to edit any suggestion (e.g change its' status) and to leave comments from the 'Admin'.

A small demo:

In order to enable admin functionality, you should specify the adminSettings and set isAdmin to true:

SuggestionsPage(
  isAdmin: true,
  adminSettings: const AdminSettings(
    id: '3',
    username: 'Admin',
  ),
);

Localization

At the moment the package supports 3 languages: English, Russian and Ukrainian. English is the default language, it will be set in case the current locale is not supported by the SuggestionsLocalizations.delegate.

MaterialApp(
  home: SuggestionsPage(),
  localizationsDelegates: [
    SuggestionsLocalizations.delegate,
    GlobalMaterialLocalizations.delegate,
  ],
);
  • SuggestionsLocalizations - strings localization
  • GlobalMaterialLocalizations- date format localization

You also have to invoke initializeDateFormatting() before MaterialApp() widget creation in order to support date formatting.

initializeDateFormatting();
return MaterialApp(
  home: SuggestionsPage(),
);

Essential checks

For each suggestion and comment manipulation (updating or deleting) we recommend to check whether user has author rights to commit those actions. Author rights concept is as follows: the user who has created a suggestion/comment is the only one who can delete or update it. If it somehow happens that a user without author rights tries to delete/update a suggestion, an Exception will be thrown. onGetUserById() function in SuggestionsPage constructor will help you with this.

Theme

The package uses the material theme of your application.

Text styles used in package:

  • TextTheme.titleLarge
  • TextTheme.titleMedium
  • TextTheme.labelLarge
  • TextTheme.bodyMedium

Kategorien

Abhängigkeiten

Abhängigkeiten 4 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.