Giter VIP home page Giter VIP logo

cleong98 / flutter_scrollview_observer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fluttercandies/flutter_scrollview_observer

0.0 0.0 0.0 587 KB

A widget for observing data related to the child widgets being displayed in a scrollview.

Home Page: https://pub.dev/packages/scrollview_observer

License: MIT License

Ruby 0.91% C++ 5.77% C 0.35% Objective-C 0.01% Kotlin 0.04% Dart 88.13% Swift 0.39% HTML 1.34% CMake 3.05%

flutter_scrollview_observer's Introduction

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.

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

🎀 Support

  • ListView
  • SliverList
  • GridView
  • SliverGrid
  • Mixing usage of SliverPersistentHeader, SliverList and SliverGrid
  • ScrollView built by third-party package.

🏞 Related Example

📦 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

flutter_scrollview_observer's People

Contributors

linxunfeng avatar liudongcai avatar percival888 avatar qiangjindong avatar zeqinjie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.