on_visibility_detector_extension

Creator: coderz1093

Last updated:

Add to Cart

Description:

on visibility detector extension

on_visibility_detector_extension #
An list on extension to detect when widget appear or disappear, based on (SwiftUI modifier)[https://developer.apple.com/documentation/swiftui/view/onappear(perform:)]
Getting Started #
import 'package:on_visibility_detector_extension/on_visibility_detector_extension.dart';

const Text('Hello World!')
.onAppear(() => debugPrint('Text appear'))
.onDisappear(() => debugPrint('Text disappear')),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.