सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
timed_widget एक Flutter पैकेज है जो उपयोगकर्ता इंटरफ़ेस में समय-आधारित इंटरैक्शन के प्रबंधन के लिए पुन: उपयोगी विजेट प्रदान करता है। यह विकासकर्ताओं को देरी से दृश्यता, एनीमेटेड स्विचर, क्रमिक विजेट प्रदर्शन और समय-आधारित संक्रमण के निर्माण को आसानी से करने में सक्षम बनाता है। ऑनबोर्डिंग फ्लो, स्प्लैश स्क्रीन या इंटरैक्टिव ट्यूटोरियल के लिए आदर्श, यह जटिल कस्टम कोड के बिना समय-आधारित UI तर्क के कार्यान्वयन को सरल बनाता है। पैकेज सभी प्रमुख प्लेटफॉर्म का समर्थन करता है और मौजूदा Flutter प्रोजेक्ट में आसानी से एकीकृत होता है।
उपयोग
ऑनबोर्डिंग अनुक्रम
स्प्लैश स्क्रीन एनिमेशन
चरण-दर-चरण सीखने के ट्यूटोरियल
समय-आधारित सामग्री प्रकटीकरण
इंटरैक्टिव गाइड्स
एनिमेटेड ट्रांजिशन
मुख्य विशेषताएँ
देरी से दिखाई देने वाला विज़िबलिटी
क्रमिक विजेट प्रदर्शन
निर्मित एनीमेशन
क्रॉस-प्लेटफ़ॉर्म समर्थन
सरल API
पुनर्उपयोगी घटक
इनके लिए उपयुक्त
UI/UX डिजाइनर
Flutter शुरुआती
App ऑनबोर्डिंग विकासकर्ता
इंटरैक्टिव ट्यूटोरियल निर्माता
एनिमेशन-केंद्रित ऐप्स
विचार योग्य बातें
Flutter के विजेट लाइफसाइकल की समझ आवश्यक है
उन्नत एनीमेशन के लिए सीमित कस्टमाइजेशन
सरल समय स्थितियों के लिए सबसे उपयुक्त
जटिल ट्रांज़िशन के लिए अतिरिक्त पैकेज की आवश्यकता हो सकती है
उच्च प्रदर्शन वाले एनिमेशन-भारी ऐप्स के लिए उपयुक्त नहीं
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
⏱️ timed_widget
A flexible and lightweight Flutter package that provides time-based UI building blocks — including delayed visibility, timed switchers, animated builders, scheduled sequences, and more.
Ideal for onboarding flows, staggered animations, tutorial steps, micro-interactions, and other UI effects that rely on timing.
✨ Features
Show or hide widgets after a delay
Switch between two widgets with timing & animation
Run a function after a specified delay
Rebuild widgets repeatedly on a timer
Animate widgets using AnimationController with duration + curve
Trigger a sequence of widget displays with custom delay per step
Manage widget visibility in groups or sequences
Use mixin utilities to manage Timer lifecycle cleanly
📦 Installation
Add to your pubspec.yaml:
dependencies:timed_widget:^0.1.0
Then import:
import'package:timed_widget/timed_widget.dart';
🧩 Available Widgets
Widget/Class
Purpose
TimedVisibility
Show/hide a widget after a delay, optionally reverse or loop
TimedSwitcher
Switch between two widgets after a delay, animated
TimedBuilder
Conditionally build a widget after a delay (bool isElapsed)
TimedFunction
Execute a callback once after a delay
TimedRepeatBuilder
Periodically rebuild a widget with tick counter
TimedAnimatedBuilder
Animate a value (0.0 → 1.0) over time
TimedSequence
Step-based widget display with delays and optional controller
TimedVisibilityController
Imperative control for TimedVisibility
TimedGroupController
Start/reset multiple TimedVisibility widgets at once
TimedSequenceController
External control of sequence progression or reset
TimedMixin
Mixin for stateful widgets to safely manage timers