thomasecalle / delayed_display Goto Github PK
View Code? Open in Web Editor NEWA widget that enables you to display a child after a delay and with beautiful fading and sliding animation.
License: MIT License
A widget that enables you to display a child after a delay and with beautiful fading and sliding animation.
License: MIT License
This is a request to add support for null safety to this package. See the migration guide for details about enabling null safety.
First off, thanks for making this widget... it's great!
I noticed the following issue when changing routes while the timer is still running:
AnimationController.forward() called after AnimationController.dispose()
It can be resolved by doing the following:
Create a new private variable:
var _timer;
Assign the timer to it:
_timer = Timer(delay, () {
_opacityController.forward();
});
Modify the dispose() method as follows:
/// Dispose the opacity controller
@OverRide
void dispose() {
_opacityController.dispose();
if (_timer != null) {
_timer.cancel();
}
super.dispose();
}
Hello,
I want to have this delayed display animation once when the widget is initialized. However, it animates all the time when I scroll. Is it possible to have this animation only once when widget is initialized?
Is there a way to turn off sliding curve ?
It would be nice to have a reverse animation feature for hiding the child widget.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.