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

パッケージ詳細v1.0.3

dropdownfield

標準のAndroid自動補完ドロップダウンフィールドを模倣するカスタムFlutterウィジェット。このフィールドの動作をカスタマイズするための多くのオプションがあります。

30日間ダウンロード
261
いいね数
48
Pub ポイント
40

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

flutter pub add dropdownfield

パッケージ概要

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

Androidの自動補完ドロップダウンフィールド体験を再現するカスタマイズ可能なFlutterウィジェットです。スタイル、フィルタリング、インタラクションパターンを含む、フィールドの挙動をカスタマイズするための広範なオプションを提供しています。ネイティブに近い入力体験とドロップダウンの提案を提供するように設計されており、テキスト入力およびオプションリストからの選択をサポートしています。検索可能またはフィルタリングされた選択肢が必要なフォームに最適で、ユーザーの入力効率とプラットフォーム間でのインターフェースの一貫性を向上させます。

用途

  • 検索可能なオプションを備えたフォーム入力
  • 大規模データセットからのユーザー選択
  • Androidスタイルの自動補完フィールド
  • 動的提案フィルタリング
  • カスタマイズ可能なドロップダウンの外観
  • モバイルアプリにおける入力の使いやすさの向上

主な機能

  • 広範なカスタマイズオプション
  • 検索可能かつフィルタリング可能な提案
  • AndroidネイティブUIの模倣
  • 設定可能なドロップダウン動作
  • 動的データソースをサポートします
  • 洗練された、応答性のあるデザイン

適している対象

  • Androidスタイルのドロップダウンを求める開発者
  • 検索可能な入力フィールドを必要とするアプリ
  • 高いUIの柔軟性を必要とするプロジェクト
  • フォーム中心のアプリケーション
  • 複数プラットフォーム間で一貫したUXを重視するチーム
  • カスタマイズ可能な入力コンポーネント

注意事項

  • Androidの模倣を超える限定的なプラットフォーム固有の統合
  • 複雑なデータ型に対する組み込みのサポートなし
  • 状態管理を手動で処理する必要があります
  • クロスプラットフォームの整合性を確保するために、追加のスタイリングが必要になる場合があります
  • 高度な機能には外部の依存関係に依存しています
  • パフォーマンスチューニングなしでは非常に大きなデータセットには最適化されていない

元の README

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

dropdownfield

Custom Flutter Widget for a customizable dropdown field with auto-complete functionality This widget is meant to be used within a Flutter Form

For a completely working Flutter project demonstrating the usage of dropdownfield, download the code from https://github.com/jagan999/dropdownfieldexample

Installing:

In your pubspec.yaml, add the following dependency

dependencies:
  dropdownfield: 1.0.0

Example Usage:

import 'package:dropdownfield/dropdownfield.dart';

    DropDownField(
        value: accountname,
        required: true,
        strict: true,
        labelText: 'Account Name *',
        icon: Icon(Icons.account_balance),
        items: accountNames,
        setter: (dynamic newValue) {
            accountname = newValue;
        }
    ),

Features:

Can be used for showing drop-down of suggestions for a form field Provides auto-complete functionality - as the user types, shows all suggestions that match part of the typed in text Provides validation of user-typed value against the list of suggestions by default. Can be turned off by setting strict=false Provides ability to do "mandatory" value check if needed Quick clear icon to clear out typed in value Appearance can be customized to match your application theme Clicking dropdown arrow will automatically close the soft keyboard

License:

This project is licensed under the BSD License - see the LICENSE file for details

カテゴリー

ソースリポジトリ

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

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