FLUTTER ECOSYSTEM

fluttercandies/flutter_scrollview_observer

Ein Widget zum Beobachten von Daten im Zusammenhang mit den in einem ScrollView angezeigten Kind-Widgets. Verwalter: @LinXunFeng

Projektcover von flutter_scrollview_observer
Stars
620
Forks
68
Letzter Push (UTC)
14.09.2026
Projektstatus
Aktiv
FlutterCandies GitHub avatar
GITHUB Organization

FlutterCandies ↗

Custom Flutter candies (packages) for you to build your Flutter app easily. Enjoy it!

SprachenDartC++CMakeRubyHTMLSwiftCKotlinObjective-C

Technische Themen

Von diesem Repository veröffentlichte Pakete

Verwendete Abhängigkeiten

Abhängigkeiten 3 Einträge
  • flutter{"sdk":"flutter"}
  • flutter_testEntwicklung{"sdk":"flutter"}
  • flutter_lintsEntwicklung^1.0.0

Original-README

Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.

Projekt-README ein-/ausklappen

https://github.com/LinXunFeng/flutter_assets/raw/main/flutter_scrollview_observer/banner.png

Flutter ScrollView Observer

author pub stars

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.

☕ Support me

ko-fi wechat

Chat: Join WeChat group

📖 Article

🔨 Feature

You do not need to change the view you are currently using, just wrap a ViewObserver around the view to achieve the following features.

  • [x] Observing child widgets those are being displayed in ScrollView
  • [x] Support for scrolling to a specific item in ScrollView
  • [x] Quickly implement the chat session page effect
  • [x] Support for keeping IM message position when inserting or updating messages, avoiding jitter.

🎀 Support

  • [x] PageView
  • [x] ListView
  • [x] SliverList
  • [x] GridView
  • [x] SliverGrid
  • [x] Mixing usage of SliverPersistentHeader, SliverList and SliverGrid
  • [x] NestedScrollView
  • [x] ScrollView built by third-party package.

🕹 Preview

📦 Installing

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';

📚 Wiki

🖨 About Me

https://github.com/LinXunFeng/LinXunFeng/raw/master/static/img/FSAQR.png