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

パッケージ詳細v4.2.1

flutter_dropzone

ドラッグアンドドロップ用のFlutterプラグイン(Web専用)。

Web
30日間ダウンロード
21.5万
いいね数
219
Pub ポイント
140

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

flutter pub add flutter_dropzone

パッケージ概要

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

Webアプリケーション向けに設計されたFlutterプラグインで、ドラッグアンドドロップによるファイルアップロードを可能にします。ユーザーが指定領域に直接ファイルをドロップできるシンプルでカスタマイズ可能なインターフェースを提供し、Webプラットフォーム上のファイルアップロード体験を向上させます。Web専用に構築されており、FlutterのUIフレームワークとシームレスに統合され、選択やプレビューなどの一般的なファイル操作をサポートしています。軽量であり、複雑なセットアップを必要とせず、使いやすさに焦点を当てています。

用途

  • Webベースのファイルアップロード
  • ドラッグアンドドロップフォーム入力
  • ファイルインポートインターフェース
  • オンライン文書提出
  • インタラクティブメディアアップロードゾーン

主な機能

  • ウェブ専用のサポート
  • シンプルなドラッグアンドドロップインターフェース
  • カスタマイズ可能なドロップゾーンのスタイル
  • ファイルタイプのフィルタリング
  • 基本的なファイルプレビュー機能

適している対象

  • ファイル重視のアプリを構築するウェブ開発者
  • 直感的なファイル入力が必要なUIデザイナー
  • 簡単なファイルインジェストを必要とするアプリケーション
  • インタラクティブなファイルアップロードフローのプロトタイピング
  • ブラウザベースの環境をターゲットにするプロジェクト

注意事項

  • モバイルまたはデスクトッププラットフォームでは利用できません
  • Webブラウザに限定
  • ファイル処理にはカスタム処理が必要です
  • タイプ以外の組み込みファイル検証はありません
  • ブラウザ固有のドラッグアンドドロップAPIに依存しています

元の README

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

pub package

See the README files of the individual subprojects:

Breaking changes

4.2.0 had to introduce another breaking change, sorry. While 4.1.0 solved the problem for web users, it created a regression for some other people who author multiplatorm apps where not all variants are web-based. Instead of returning a web.File directly, the onDrop variants now return a DropzoneFileInterface. You can go on accessing its properties as before, so you might not even notice the difference.

4.1.0 deprecates onDrop and all other functions using dynamic type because the newer Flutter JS support enforces stricter type checking. onDrop will be removed in a coming version. Use onDropFile and onDropString instead.

4.0.x is compatible with Flutter 3.13 (stable) and later. If you're not yet ready to upgrade from a previous version of Flutter, stay with the latest 3.0.x version of flutter_dropzone. See the README of the web implementation for details.

3.0.x is compatible with Flutter 2.5 (stable) and later. If you're not yet ready to upgrade from a previous version of Flutter, stay with the latest 2.0.x version of flutter_dropzone. See the README of the web implementation for details.

Support

If you like this package, please consider supporting it.

Buy Me A Book

カテゴリー

依存関係

依存関係一覧 3 件

  • flutter_dropzone_platform_interface^2.2.0
  • flutter_dropzone_web^4.2.0
  • web>=0.5.1 <2.0.0

ソースリポジトリ

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

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