elevator 1.0.0 copy "elevator: ^1.0.0" to clipboard
elevator: ^1.0.0 copied to clipboard

A Flutter package that provides a widget for elevating a widget.

Elevator #

A Flutter package that provides a widget for elevating a widget.

Features #

  • Elevate a widget
  • Clean elevation removal on mouse exit

Installation #

Add the following to your pubspec.yaml:

dependencies:
  elevator: ^1.0.0

Usage #

Here's a simple example of how to use the Elevator widget:

Elevator(
  builder: (elevated) {
    return Card(
      elevation: elevated ? 4 : 1,
      child: Text(
        'Item $index',
      ),
    );
  },
)
0
likes
160
points
174
downloads

Publisher

verified publishermiddelkamp.dev

Weekly Downloads

A Flutter package that provides a widget for elevating a widget.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on elevator