Skip to content

Kiruel/on_visibility_detector_extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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')),

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published