visibility_detector 0.2.0 copy "visibility_detector: ^0.2.0" to clipboard
visibility_detector: ^0.2.0 copied to clipboard

outdated

A widget that detects the visibility of its child and notifies a callback.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add visibility_detector
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  visibility_detector: ^0.2.0
copied to clipboard

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:visibility_detector/visibility_detector.dart';
copied to clipboard
1.16k
likes
0
points
177k
downloads

Publisher

verified publishergoogle.dev

Weekly Downloads

2024.08.27 - 2025.03.11

A widget that detects the visibility of its child and notifies a callback.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on visibility_detector