fading_in_widget 1.0.2 copy "fading_in_widget: ^1.0.2" to clipboard
fading_in_widget: ^1.0.2 copied to clipboard

The Fading in widget package is used to bring any widget to the screen with a fading animation.

Fading in Widget #

All you need to do is wrap your widget with the fading widget. The rest will happen by itself.

const FadingInWidget(
	child: FlutterLogo(),
),

Other parameters can come to the rescue if needed :)

const FadingInWidget(
	delay: Duration.zero, // This is the default value. 
	duration: Duration(seconds: 2), // This is the default value. 
	curve: Curves.easeInOut, // This is the default value. 
	child: FlutterLogo(),
),

That's all. Now you are ready to use the fading in widget.

Parameters are as follows. ☺️

  • child: This is the static widget you want to hide while scrolling.
  • duration: Determines how long the fade animation lasts.
  • delay: Determines after how long the fade animation will start.
  • curve: It is used to adjust the rate of change of the fade animation over time, allowing them to speed up and slow down instead of moving at a constant speed.
2
likes
150
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

The Fading in widget package is used to bring any widget to the screen with a fading animation.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on fading_in_widget