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

atreeon_datagrid_responsive のカバー
パッケージ詳細v0.4.0

atreeon_datagrid_responsive

ソートおよびフィルタリング機能を備えたデータグリッド。画面サイズにも対応しています。完全に型付けされています。

30日間ダウンロード
81
いいね数
7
Pub ポイント
60

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

flutter pub add atreeon_datagrid_responsive

パッケージ概要

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

完全な型安全を備えた、並べ替えおよびフィルタリング機能を提供する応答性のあるFlutterデータグリッドパッケージです。さまざまな画面サイズにスムーズに適応するように設計されており、デバイス間で一貫したユーザー体験を保証します。Dartの強力な型システムに基づいて構築されており、コードの信頼性と開発者の生産性を高めます。構造化されたデータ表示とインタラクティブな機能を必要とするアプリケーションに最適です。このパッケージはatreeon.comによってメンテナンスされ、GitHub上でホストされており、透明性とコミュニティ参加を促進しています。

用途

  • アプリで構造化データを表示する
  • 並べ替え可能でフィルタリング可能なテーブルの実装
  • 応答性のあるデータインターフェースの作成
  • 管理者ダッシュボードの構築
  • 大規模なデータセットをインタラクティブに管理する

主な機能

  • すべての画面サイズに対応するレスポンシブデザイン
  • 組み込みの並べ替えとフィルタリング
  • Dart のジェネリクスを使用して完全に型指定
  • 型安全なデータ処理
  • Flutter との簡単な統合
  • きれいな、保守可能なコード構造

適している対象

  • データ量の多いFlutterアプリを開発する開発者
  • 型安全性を最優先とするチーム
  • 応答性のあるテーブルコンポーネントを必要とするプロジェクト
  • 管理者パネルとデータ管理ツール
  • 複数のデバイスサイズを対象とするアプリ

注意事項

  • Flutter SDK の設定が必要です
  • テーブル固有の使用事例に限定される
  • 組み込みのページネーションなし
  • 高度なUIのためにはカスタムスタイルが必要になる場合があります
  • GitHubを介した外部のメンテナンスに依存

元の README

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

atreeon_datagrid_responsive

A datagrid with sorting and filtering capabilities. It is also responsive to screen size. Fully Typed.

atreeon_datagrid_responsive example

Simple Demo

see examples folder for more examples

class SimpleDemo extends StatelessWidget {
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          Expanded(
            child: ResusableDatagridW<Item>(
              data: originalData,
              fields: [
                Field<Item>((x) => x.name, "name", FilterFieldString()),
                Field<Item>((x) => ramLookup[x.ram] ?? x.ram.toString(), "ram", FilterFieldNum()),
                Field<Item>((x) => x.price, "price", FilterFieldNum()),
                Field<Item>((x) => x.storage, "storage", FilterFieldNum()),
              ],
              onRowClick: (x) => print(x.toString()),
              lastSaveDate: null,
            ),
          ),
        ],
      ),
    );
  }
}

class Item {
  String name;
  int ram;
  int price;
  int storage;

  Item(this.name, this.ram, this.price, this.storage);
}

var originalData = List<Item>.generate(
    2000,
    (i) => //
        Item("id: $i", i * 2, i ~/ 2, i + 500));

var ramLookup = {64: "sixtyfour", 1: "one", 128: "one hundred & twenty eight"};


Features

  • multi select over multiple pages
  • sorting and secondary sort capabilities
  • typed filtering
  • vertical responsive design (or fixed height)
  • paging or no paging

Limitations

  • no cell editing capability (you can open a dialog on click of a row though)
  • some data types aren't yet supported (DateTime)
  • no grouping
  • no reording column placement
  • no widening or narrowing of column widths

Other Notes / Information

written a couple of years ago

カテゴリー

依存関係

依存関係一覧 7 件

ソースリポジトリ

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

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