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

pluto_grid のカバー
パッケージ詳細v8.1.0

pluto_grid

PlutoGrid は、デスクトップおよびウェブ上でキーボードで制御できるデータグリッドです。もちろん、Android および iOS でも良好に動作します。(DataGrid、DataTable、データグリッド、データテーブル、スタック)

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
3.2万
いいね数
1080
Pub ポイント
160

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

flutter pub add pluto_grid

パッケージ概要

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

PlutoGrid は、デスクトップおよびWebプラットフォームでのキーボードナビゲーションをサポートしながら、モバイルデバイスでも完全な機能を維持する、Flutter用の汎用的なデータグリッドコンポーネントです。応答性がありカスタマイズ可能なテーブルインターフェースを提供し、固定ヘッダー、ソート、フィルタリングなどの機能を備えており、構造化されたデータを表示するのに最適です。複数のプラットフォームでアクセシブルかつインタラクティブなデータ表示ソリューションを求める開発者向けに設計されており、直感的な操作と滑らかなパフォーマンスにより、ユーザー体験を向上させます。

用途

  • Webアプリケーションで大規模なデータセットを表示する
  • デスクトップユーザー向けのアクセシブルなデータテーブルの作成
  • インタラクティブなグリッドを使用した管理者ダッシュボードの構築
  • データテーブルでのスタックヘッダーの実装
  • データグリッドでのキーボードナビゲーションの有効化

主な機能

  • デスクトップおよびウェブ上のキーボードナビゲーションのサポート
  • スタックヘッダーとカラム
  • クロスプラットフォーム互換性(Android、iOS、Web、macOS、Windows、Linux)
  • カスタマイズ可能なセルレンダリング
  • 組み込みの並べ替えとフィルタリング
  • すべての画面サイズに対応するレスポンシブデザイン

適している対象

  • データ集約型のWebアプリを開発する開発者
  • アクセシビリティとキーボード操作を重視するチーム
  • 柔軟なテーブルコンポーネントを必要とするUIデザイナー
  • スタックヘッダーと高度なデータ処理を必要とするアプリケーション
  • 一貫したUIを備えた複数のプラットフォームをターゲットにするプロジェクト

注意事項

  • 複雑なレイアウトには追加のスタイル設定が必要になる場合があります
  • 非常に大きなデータセットを使用する際にはパフォーマンスの監視が必要です
  • 成熟した代替品と比べてドキュメントが限られている
  • キーボードナビゲーションは、特定の用途においてカスタマイズが必要になる場合があります
  • 非常に高頻度のデータ更新には最適化されていません

元の README

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

PlutoGrid for flutter - v8.1.0

Awesome Flutter codecov License: MIT


PlutoGrid is a DataGrid that can be operated with the keyboard in various situations such as moving cells.
It is developed with priority on the web and desktop.
Improvements such as UI on mobile are being considered.
If you comment on an issue, mobile improvements can be made quickly.


Demo Web

You can try out various functions and usage methods right away.
All features provide example code.


Pub.Dev

Check out how to install from the official distribution site.


Documentation

The documentation has more details.


ChangeLog

Please note the changes when changing the version of PlutoGrid you are using.


Issue

Report any questions or errors.


Packages

PlutoGridExport
This package can export the metadata of PlutoGrid as CSV or PDF.


Screenshots
Change the color of the rows or make the cells look the way you want them.

PlutoGrid Normal


Date type input can be easily selected by pop-up and keyboard.

PlutoGrid Select Popup


The selection type column can be easily selected using a pop-up and keyboard.

PlutoGrid Select Date


Group columns by desired depth.

PlutoGrid Cell renderer


Grid can be expressed in dark mode or a combination of desired colors. Also, freeze the column, move it by dragging, or adjust the size.

PlutoGrid Multi select


Example

Generate the data to be used in the grid.


List<PlutoColumn> columns = [

  /// Text Column definition
  PlutoColumn(
    title: 'text column',
    field: 'text_field',
    type: PlutoColumnType.text(),
  ),

  /// Number Column definition
  PlutoColumn(
    title: 'number column',
    field: 'number_field',
    type: PlutoColumnType.number(),
  ),

  /// Select Column definition
  PlutoColumn(
    title: 'select column',
    field: 'select_field',
    type: PlutoColumnType.select(['item1', 'item2', 'item3']),
  ),

  /// Datetime Column definition
  PlutoColumn(
    title: 'date column',
    field: 'date_field',
    type: PlutoColumnType.date(),
  ),

  /// Time Column definition
  PlutoColumn(
    title: 'time column',
    field: 'time_field',
    type: PlutoColumnType.time(),
  ),
];

List<PlutoRow> rows = [
  PlutoRow(
    cells: {
      'text_field': PlutoCell(value: 'Text cell value1'),
      'number_field': PlutoCell(value: 2020),
      'select_field': PlutoCell(value: 'item1'),
      'date_field': PlutoCell(value: '2020-08-06'),
      'time_field': PlutoCell(value: '12:30'),
    },
  ),
  PlutoRow(
    cells: {
      'text_field': PlutoCell(value: 'Text cell value2'),
      'number_field': PlutoCell(value: 2021),
      'select_field': PlutoCell(value: 'item2'),
      'date_field': PlutoCell(value: '2020-08-07'),
      'time_field': PlutoCell(value: '18:45'),
    },
  ),
  PlutoRow(
    cells: {
      'text_field': PlutoCell(value: 'Text cell value3'),
      'number_field': PlutoCell(value: 2022),
      'select_field': PlutoCell(value: 'item3'),
      'date_field': PlutoCell(value: '2020-08-08'),
      'time_field': PlutoCell(value: '23:59'),
    },
  ),
];

Create a grid with the data created above.

  @override
Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(
      title: const Text('PlutoGrid Demo'),
    ),
    body: Container(
      padding: const EdgeInsets.all(30),
      child: PlutoGrid(
          columns: columns,
          rows: rows,
          onChanged: (PlutoGridOnChangedEvent event) {
            print(event);
          },
          onLoaded: (PlutoGridOnLoadedEvent event) {
            print(event);
          }
      ),
    ),
  );
}

Flutter version compatible
Flutter PlutoGrid
3.38.0 or higher 8.1.0 or higher
3.19.0 or higher 8.0.0 or higher
3.10.0 or higher 7.0.0 or higher
3.7.0 or higher 6.0.0 or higher
3.3.0 or higher 5.0.6 or higher
3.0.0 or higher 3.0.0-0.pre or higher
2.5.0 or higher 2.5.0 or higher

For other versions, contact the issue


Related packages

develop packages that make it easy to develop admin pages or CMS with Flutter.


Donate to this project

Buy me a coffee


Jetbrains provides a free license

IDE license support

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

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