패키지, 저장소 및 앱 카테고리 검색

flutter_timeline 표지
패키지 상세v0.3.0

flutter_timeline

실제 세계 애플리케이션 참조를 기반으로 한 완전히 사용자 정의 가능한 일반적인 타임라인 위젯

30일 다운로드
152
좋아요
138
Pub 점수
60

패키지 설치

flutter pub add flutter_timeline

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

현실 세계의 애플리케이션 참조를 고려하여 설계된 Flutter용 완전히 사용자 정의 가능한 타임라인 위젯입니다. 유연한 레이아웃 구성 기능을 지원하여 이벤트, 프로세스 또는 역사적 데이터용 동적이고 상호작용 가능한 타임라인을 개발자가 만들 수 있습니다. 다양한 용도(예: 프로젝트 추적, 온보딩 흐름, 이벤트 역사 등)에 적합하도록 일반적인 목적의 위젯으로 제작되었습니다. 직관적인 사용자 정의 옵션을 통해 다양한 디자인 요구사항에 자연스럽게 대응하면서 성능과 가독성을 유지합니다.

사용 사례

  • 프로젝트 진행 추적
  • 사용자 온보딩 시퀀스
  • 역사적 사건 전시
  • 프로세스 흐름 시각화
  • 응용 프로그램 변경 사항

주요 기능

  • 높은 사용자 정의 디자인
  • 수직 및 수평 레이아웃을 지원합니다
  • 확장 가능한 이벤트 항목 구성
  • 반응성 있고 성능이 뛰어난 렌더링
  • 내장 애니메이션 지원

적합한 대상

  • 프로세스 중심 앱을 개발하는 개발자
  • 유연한 타임라인 컴포넌트가 필요한 디자이너
  • 시각적 이벤트 순서가 필요한 앱

고려 사항

  • 복잡한 애니메이션은 수동 설정이 필요합니다
  • 제한된 플랫폼별 최적화
  • 내장된 날짜 형식 지정 유틸리티 없음
  • 정적 또는 반동적 콘텐츠에 가장 적합
  • 테마 통합을 위해 외부 스타일링에 의존합니다

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.


framework: flutter platform: Android, iOS, Web, macOS, Linux, Windows tags: flutter, timeline, flutter timeline, timeline tile title: flutter timeline

flutter_timeline

logo

a fully customizable & general timeline widget, based on real-world application references

  • ✅ fully customizable indicator dot
  • ✅ support spacing between indicator dot and lines
  • ✅ support spacing between event (items) but leaving the line connected
  • ✅ uses custom paint, but yet, indicator and body are fully customizable.
  • ✅ 2 real-world demos
  • ✅ L2R support
  • ✅ anchor support
  • ✅ global offset support
  • ✅ item offset support
  • ✅ supported & used by enterprise, constantly updated, used on production application.

Installation

dependencies:
  flutter_timeline: latest

usage

simple

  TimelineEventDisplay get plainEventDisplay {
    return TimelineEventDisplay(
        child: TimelineEventCard(
          title: Text("just now"),
          content: Text("someone commented on your timeline ${DateTime.now()}"),
        ),
        indicator: TimelineDots.of(context).circleIcon);
  }

  List<TimelineEventDisplay> events;

  Widget _buildTimeline() {
    return TimelineTheme(
        data: TimelineThemeData(lineColor: Colors.blueAccent),
        child: Timeline(
          indicatorSize: 56,
          events: events,
        ));
  }

  void _addEvent() {
    setState(() {
      events.add(plainEventDisplay);
    });
  }

using offset

Widget _buildTimeline() {
  return Timeline(
      indicatorSize: 56,
      events: events,
      altOffset: Offset(0, -24) // set offset
  );
}

using anchor & offset

  TimelineEventDisplay get plainEventDisplay {
    return TimelineEventDisplay(
        anchor: IndicatorPosition.top,
        indicatorOffset: Offset(0, 24),
        child: TimelineEventCard(
          title: Text("multi\nline\ntitle\nawesome!"),
          content: Text("someone commented on your timeline ${DateTime.now()}"),
        ),
        indicator: randomIndicator);
  }

complex example

simple example (run it now!)

more documentation available at github

Sponsors

sponsored-by-grida

Also check out...

flutter_layouts

references

https://www.pinterest.com/official_softmarshmallow/flutter-timeline/

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.