パッケージ、リポジトリ、アプリカテゴリを検索

inquiry のカバー
パッケージ詳細v0.0.6

inquiry

Flutter用のInquiryパッケージは、トラッキング可能なユーザー情報を含むカスタムアンケートを作成を簡単にします。収集されたデータをローカルまたはリモートに簡単に保存できます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
14
いいね数
11
Pub ポイント
140

パッケージをインストール

flutter pub add inquiry

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter用のInquiryパッケージは、カスタムアンケートの作成を簡素化し、開発者がユーザーの回答を効率的に収集・追跡できるようにします。データをローカルまたはリモートに保存できるため、アンケート、フィードバックフォーム、ユーザーオンボーディングフローに最適です。シンプルなAPIにより、複数プラットフォームのFlutterアプリにスムーズに統合され、モバイルからデスクトップまで一貫した動作を保証します。使いやすさを重視しつつ、カスタマイズの柔軟性も維持しています。

用途

  • ユーザーのフィードバック収集
  • オンボーディングアンケート
  • 調査アプリケーション
  • アプリ内のデータトラッキング
  • リモートデータ同期

主な機能

  • 簡単なアンケート作成
  • ローカルおよびリモートデータストレージ
  • クロスプラットフォーム互換性
  • トラッカブルなユーザーの応答
  • シンプルなAPI統合

適している対象

  • アプリ開発者
  • プロダクトチーム
  • UX リサーチャー
  • 教育アプリの作成者
  • フィードバックシステム統合業者

注意事項

  • リモートストレージのセットアップが必要です
  • 限定された組み込み分析
  • リアルタイム共同作業なし
  • クラウド同期のための外部バックエンドに依存
  • 基本的なUIコンポーネントのみ

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Customizable Questionnaire for Flutter.

This package allows to create questionnaire (similar to poll but with a valid value option) that is customizable by the developer. It can be used to create very fancy quiz that you can adapt to your app design and will run in all platforms.

The idea of this package was based in Flutter Polls

Features

Animated
animated demo
How do it look

animated demo animated demo

Getting started

In the pubspec.yaml of your flutter project, add the following dependency:

dependencies:
  ...
  inquiry: latest_version

Import it:

import 'package:inquiry/inquiry.dart';

Usage

You can create a simple inquiry with


Inquiry(
  inquiryId: 'inquiry',
  options: List.generate(
    5, (index) {
      return InquiryOption(
        id: index,
        title: Text(
          'Option $index',
        ),
        votes: 0,
        rightAnswer: index == 2,
      );
    },
  ),
  titleWidget: Text(
    "Title of the Inquiry",
    style: const TextStyle(
      fontWeight: FontWeight.w500,
      fontSize: 16,
    ),
  ),
  onVoted: (option, amount) {
    print("Voted option: ${option.title}. "
        "The option is ${option.rightAnswer ? 'correct' : 'incorrect'}");
    return Future.value(true);
  },
);

You can customize the look and feel with InquiryStyle

  InquiryStyle(
    optionsBorderRadius: BorderRadius.circular(8),
    votedInquiryPercentRadius: const Radius.circular(8),
    optionsBorder: Border.all(color: Colors.black),
    rightAnswerBorder: Border.all(color: Colors.green),
    optionsBackgroundColor: Colors.grey.shade300,
    wrongBackgroundColor: Colors.red.shade100,
    rightBackgroundColor: Colors.green.shade100,
    optionsSplashColor: Colors.blue,
    votedWrongProgressColor: Colors.red.shade300,
    votedRightProgressColor: Colors.green.shade300,
    voteInProgressColor: Colors.blue,
    voteButtonStyle: ElevatedButton.styleFrom(
      backgroundColor: Colors.blue,
      foregroundColor: Colors.white,
      padding:
      const EdgeInsets.symmetric(horizontal: 24, vertical: 8),
    ),
    crossAxisAlignment: CrossAxisAlignment.start,
  )

for more information look at the example

Additional information

You can contribute to the package any time, just create a Pull Request. All contributions are welcome 👍🏼

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。