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

dynamic_timeline のカバー
パッケージ詳細v0.1.2

dynamic_timeline

日次タイムライン、タイムテーブル、ガントチャートなどを作成するためのウィジェットです。

30日間ダウンロード
1840
いいね数
46
Pub ポイント
70

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

flutter pub add dynamic_timeline

パッケージ概要

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

DynamicTimeline は、ダイナミックなレイアウト機能を備えた、日々のタイムライン、スケジュール、ガントチャートを可視化するための Flutter ウィジェットです。開発者が時間ベースのデータをインタラクティブかつカスタマイズ可能な方法で表現できるようにし、水平または垂直方向に対応しています。コンテンツの長さに応じて自動調整され、イベント、インターバル、ラベルのスタイリングも柔軟に設定できます。スケジューリングアプリ、プロジェクト管理ツール、あるいは時間順のビジュアライゼーションが必要なあらゆるアプリに最適です。

用途

  • スケジューリングアプリ
  • プロジェクト管理ダッシュボード
  • イベント計画インターフェース
  • 時系列データの可視化
  • デイリープランナーの実装

主な機能

  • カスタマイズ可能なタイムラインレイアウト
  • 水平および垂直方向のサポート
  • 動的イベントレンダリング
  • 拡張可能なスタイルオプション
  • さまざまな画面サイズに対応するレスポンシブデザイン

適している対象

  • カレンダーフィーチャーを開発する開発者
  • プロジェクトスケジュールを管理するチーム
  • 視覚的な時間トラッキングを必要とするアプリ
  • インタラクティブな時刻表示を求めるUIデザイナー
  • 教育または生産性アプリケーション

注意事項

  • 制限されたプラットフォーム固有の最適化
  • 複雑なイベントの重なりを手動で処理する必要があります
  • 大規模なデータセットにはパフォーマンスチューニングが必要になる場合があります
  • ドラッグアンドドロップ操作に対する組み込みのサポートなし
  • 動的更新のために外部の状態管理に依存しています

元の README

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

pub package style: very good analysis License: MIT Codecov

A widget to create daily timelines, timetables, gantt charts* and more.

Note: This package is in early stage and has not been tested with large amount of data.

Daily timeline

Daily timeline

Weekly timetable

Weekly timetable styled Weekly timetable

Gantt chart

Gantt chart styled Gantt chart

Features

  • Easy to use API.
  • Rezizable timeline items.
  • Custom label builder.

Usage

Installation

Add the following line to pubspec.yaml:

dependencies:
  dynamic_timeline: ^0.1.2

Basic set up

Make sure to check out the example for more details.

Dynamic timeline requires you to provide firstDateTime, lastDateTime, labelBuilder and a list of items.

  • labelBuilder: Used to build the label of each mark, normally a dateFormat will be used.
  • items: The events of the timeline, who are positioned according to its start and end date times.

Another important property is intervalDuration, that is the lenght of time between each mark.

Example of a daily timeline.

DynamicTimeline(
    firstDateTime: DateTime(1970, 1, 1, 7),
    lastDateTime: DateTime(1970, 1, 1, 22),
    labelBuilder: DateFormat('HH:mm').format,
    intervalDuration: const Duration(hours: 1),
    children: [
      TimelineItem(
        startDateTime: DateTime(1970, 1, 1, 7),
        endDateTime: DateTime(1970, 1, 1, 8),
        child: const Event(title: 'Event 1'),
      ),
      TimelineItem(
        startDateTime: DateTime(1970, 1, 1, 10),
        endDateTime: DateTime(1970, 1, 1, 12),
        child: const Event(title: 'Event 2'),
      ),
      TimelineItem(
        startDateTime: DateTime(1970, 1, 1, 15),
        endDateTime: DateTime(1970, 1, 1, 17),
        child: const Event(title: 'Event 3'),
      ),
    ],
),

カテゴリー

ソースリポジトリ

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

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