timed_widget
समयबद्ध इंटरैक्शन के लिए पुन: उपयोगी Flutter विजेट्स का संग्रह: देरी से दिखाई देना, स्विचर, सीक्वेंसर, एनीमेशन आदि।
शक्तिशाली और पुनर्उपयोगी समय-आधारित Flutter विजेट का संग्रह।
{"sdk":"flutter"}{"sdk":"flutter"}^5.0.0^1.3.3यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
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.
AnimationController with duration + curveTimer lifecycle cleanlyAdd to your pubspec.yaml:
dependencies:
timed_widget: ^0.1.0
Then import:
import 'package:timed_widget/timed_widget.dart';
| 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 |
TimedVisibility(
delay: Duration(seconds: 2),
reverseAfter: Duration(seconds: 3),
loop: true,
child: Text('Hello after 2 seconds!'),
);
TimedFunction(
delay: Duration(milliseconds: 500),
onElapsed: () => print('Half a second passed!'),
);
TimedSequence(
steps: [
TimedStep(delay: Duration(seconds: 1), child: Text('Step 1')),
TimedStep(delay: Duration(seconds: 2), child: Text('Step 2')),
],
);
TimedVisibility demo
TimedSequence demo
MIT License. See LICENSE.
Contributions are welcome and appreciated.
Whether you're fixing a typo, adding a test, or suggesting a new widget, your input helps make this package better for everyone.
Open an issue, start a discussion, or send a pull request — let's collaborate. 🧩