visible_opacity 2.0.0 icon indicating copy to clipboard operation
visible_opacity: ^2.0.0 copied to clipboard

Control visibility with a crossfade between multiple widgets.

visible_opacity #

A pluggin, similar to the provided AnimatedOpacity, but more useful in cases when you wish to be able to control the transition between more than 2 items.

Getting Started #

import 'package:visible_opacity/visible_opacity.dart';

Column(
    children: [
      VisibleOpacity(
        child: Container(),
        visible: isVisible,
        duration: Duration(milliseconds: 200),
      ),
      VisibleOpacity(
        child: Container(),
        visible: !isVisible,
        duration: Duration(milliseconds: 200),
      ),
    ],
)
3
likes
130
pub points
63%
popularity

Publisher

verified publisher iconremelehane.dev

Control visibility with a crossfade between multiple widgets.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on visible_opacity