पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

timeline_list कवर
पैकेज विवरणv0.1.1

timeline_list

उच्च रूप से कस्टमाइज़ किए गए समयरेखा बनाने के लिए Flutter विजेट। ऑनबोर्डिंग फ्लो, प्रगति ट्रैकिंग और इंटरैक्टिव इतिहास प्रदर्शन के लिए आदर्श।

AndroidiOSWebmacOSWindowsLinux
30-दिन डाउनलोड
4.1 हज़ार
लाइक
222
Pub अंक
160

पैकेज इंस्टॉल करें

flutter pub add timeline_list

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

एक बहुत अनुकूलित करने योग्य फ्लटर विजेट जो इंटरैक्टिव टाइमलाइन बनाने के लिए उपयोगी है, जो ऑनबोर्डिंग प्रक्रियाओं, प्रगति ट्रैकिंग और ऐतिहासिक घटना प्रदर्शन जैसे क्रम को दृश्याकरण करने के लिए आदर्श है। यह विभिन्न लेआउट विकल्प और स्टाइलिंग का समर्थन करता है, जिससे विकासकर्ता विभिन्न प्लेटफॉर्मों पर आकर्षक उपयोगकर्ता अनुभव बना सकते हैं। पैकेज को लचीलेपन के लिए डिज़ाइन किया गया है, जिसमें समय रेखा आइटम, कनेक्टर और मार्कर के अनुकूलन की अनुमति है। इसे फ्लटर ऐप में न्यूनतम सेटअप के साथ बिना किसी दिक्कत के एकीकृत किया जा सकता है।

उपयोग

  • ऑनबोर्डिंग फ्लो
  • प्रगति ट्रैकिंग
  • History displays
  • घटना क्रमानुक्रम
  • उपयोगकर्ता यात्रा दृश्यीकरण
  • इंटरैक्टिव ट्यूटोरियल

मुख्य विशेषताएँ

  • उच्च अनुकूलन डिज़ाइन
  • बहुपлатफॉर्म समर्थन
  • लचीला आइटम और कनेक्टर स्टाइल
  • चिकनी एनीमेशन
  • Flutter के साथ आसान एकीकरण
  • प्रतिक्रियाशील लेआउट विकल्प

इनके लिए उपयुक्त

  • एप्प ऑनबोर्डिंग स्क्रीन्स
  • कार्य पूर्णता ट्रैकर
  • कालानुक्रमिक डेटा प्रस्तुति
  • शैक्षिक एप्लिकेशन
  • उपयोगकर्ता गतिविधि लॉग

विचार योग्य बातें

  • जटिल लेआउट के लिए हस्तकल्पित कॉन्फ़िगरेशन की आवश्यकता होती है
  • सीमित निर्मित थीम
  • प्राप्त करने के लिए अतिरिक्त स्टाइलिंग की आवश्यकता हो सकती है
  • बड़े डेटासेट का प्रदर्शन प्रभाव
  • घने समयरेखा में ऊर्ध्वाधर स्क्रॉलिंग के लिए अनअप्टीमाइज़्ड

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

Flutter Timeline Widget

pub package Flutter Timeline List Web Demo

A highly customizable Flutter widget for displaying vertical timelines with custom markers, icons, and flexible positioning options.

Flutter Timeline List Screenshot

[!WARNING] 🦚 The documentation was created using LLMs. If you notice any errors or typos, please submit a Pull Request or create an issue.

Features

  • 🎯 Three timeline positions: start (left), center, or end (right)
  • 🎨 Fully customizable markers with any widget as content or icon
  • 📍 Flexible icon alignment: top, center, or bottom of markers
  • 🎯 Individual marker positioning for centered timelines
  • 🔄 Support for reversed timeline order
  • 📱 Custom scroll physics and controller support

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  timeline_list: ^0.1.0

Usage

Simple Timeline

Flutter Simple Timeline List Screenshot

import 'package:timeline_list/timeline_list.dart';

Timeline(
  children: [
    Marker(child: Text("Step 1")),
    Marker(child: Text("Step 2")),
    Marker(child: Text("Step 3"))
  ],
)
Onboarding Example

Here's a more advanced example showing an onboarding timeline with custom icons:

Flutter Onboarding Timeline List Screenshot

var checkIcon = Container(
    width: 16,
    height: 16,
    decoration: BoxDecoration(shape: BoxShape.circle, color: Colors.green),
    child: Icon(Icons.check, color: Colors.white, size: 12));
var emptyIcon = Container(
    width: 16,
    height: 16,
    decoration: BoxDecoration(shape: BoxShape.circle, color: Colors.grey));
return Scaffold(
    appBar: AppBar(title: const Text("Onboarding example")),
    body: Column(children: [
      Timeline.builder(
        context: context,
        markerCount: 10,
        properties: TimelineProperties(
            iconAlignment: MarkerIconAlignment.center,
            iconSize: 16,
            timelinePosition: TimelinePosition.start),
        markerBuilder: (context, index) => Marker(
          child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: Text("Step ${index + 1}"),
          ),
          icon: index >= 8 ? emptyIcon : checkIcon,
          position: MarkerPosition.left,
        ),
      ),
    ]));

Customization

Timeline Properties
  • timelinePosition: Controls the overall timeline position (start, center, end)
  • iconAlignment: Sets icon alignment relative to marker content
  • iconSize: Defines the size of marker icons
  • lineWidth: Sets the width of connecting lines
  • lineColor: Customizes the color of connecting lines
  • itemGap: Controls spacing between markers
  • iconGap: Sets gap between icon and marker content
Marker Properties
  • child: The main content widget of the marker
  • icon: Optional custom icon widget
  • position: Marker position for centered timelines (left, right)
  • onTap: Optional callback for marker tap events
  • maxWidth: Maximum width constraint for marker content

Examples

Check out the example/ folder for complete sample applications, including:

  • Fully featured timeline with custom icons and widgets
  • Simple onboarding flow

Contributing

This repo is looking for maintainers. Contributions are welcome! Please feel free to submit a Pull Request.

Thank you for all the contributors!


Sponsored by:

श्रेणियाँ

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट