v1.27.3
scrollview_observer
一個用於觀察 ScrollView 中顯示的子組件相關資料的組件。
325喜歡 13.3萬近 30 天下載160Pub 分數
AndroidiOSWebmacOSWindowsLinux
用於觀察 ScrollView 中顯示之子組件相關資料的 widget。維護者:@LinXunFeng
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0以下為英文專案原文快照,最新內容請造訪 GitHub。
https://github.com/LinXunFeng/flutter_assets/raw/main/flutter_scrollview_observer/banner.png
Language: English | 中文
This is a library of widget that can be used to listen for child widgets those are being displayed in the scroll view.
Chat: Join WeChat group
You do not need to change the view you are currently using, just wrap a
ViewObserveraround the view to achieve the following features.
PageViewListViewSliverListGridViewSliverGridSliverPersistentHeader, SliverList and SliverGridNestedScrollViewScrollView built by third-party package.Add scrollview_observer to your pubspec.yaml file:
dependencies:
scrollview_observer: latest_version
Import scrollview_observer in files that it will be used:
import 'package:scrollview_observer/scrollview_observer.dart';