flutter_fadein 1.1.1 copy "flutter_fadein: ^1.1.1" to clipboard
flutter_fadein: ^1.1.1 copied to clipboard

outdated

Simple Flutter widget to fade-in your widgets once they are mounted.

Flutter Fade-In pub package #

Simple Flutter widget to fade-in your widgets once they are mounted.

Supports Material & Cupertino widgets.

Pub - API Docs - GitHub

Install #

Add this as a dependency in your pubspec.yaml:

dependencies:
  flutter_fadein: ^1.1.1

Usage #

import 'package:flutter_fadein/flutter_fadein.dart';

FadeIn(
  child: Text("This will be faded-in!"),
  // Optional paramaters
  duration: Duration(milliseconds: 250),
  curve: Curves.easeIn,
)

With Controller #

If you need more control over the animation timing, you can use FadeInController:

final controller = FadeInController();

// ...

FadeIn(
  child: Text("This will be faded-in with a controller"),
  controller: controller,
)

// ...

controller.fadeIn();
controller.fadeOut();

Using a controller with not automatically start. You can make it automatically start using FadeInController(autoStart: true).

53
likes
40
pub points
94%
popularity

Publisher

verified publishercretezy.com

Simple Flutter widget to fade-in your widgets once they are mounted.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_fadein