패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.2.0

linked_scroll_controller

두 개 이상의 스크롤 뷰를 동기화할 수 있는 스크롤 컨트롤러입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
18.7만
좋아요
335
Pub 점수
130

패키지 설치

flutter pub add linked_scroll_controller

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

linked_scroll_controller 패키지는 두 개 이상의 스크롤 뷰의 스크롤 동작을 동기화하는 스크롤 컨트롤러를 제공합니다. 한 스크롤 뷰가 스크롤되면 다른 뷰들도 자동으로 따라가며 모든 연결된 뷰 간에 일관된 위치를 유지합니다. 이는 측면에 리스트를 배치하거나, 듀얼패인 레이아웃 또는 동기화된 콘텐츠 패널과 같은 조율된 UI를 만들 때 특히 유용합니다. 이 패키지는 Android, iOS, Web, macOS, Windows, Linux 등 주요 플랫폼을 모두 지원하며 크로스플랫폼 일관성을 보장합니다. Flutter의 기존 스크롤 시스템과 원활하게 통합되며 최소한의 설정만 필요합니다.

사용 사례

  • 여러 목록 보기 동기화
  • 이중 패널 레이아웃 만들기
  • 분할 화면에서 스크롤 위치 정렬
  • 반응형 대시보드 패널 만들기
  • 데이터 비교 인터페이스에서 조정 스크롤 활성화

주요 기능

  • 실시간 스크롤 동기화
  • 여러 스크롤 뷰를 지원합니다
  • 크로스 플랫폼 호환성
  • 필수 최소 구성
  • ListView, ScrollViewController 및 사용자 정의 스크롤 가능한 요소와 호환됩니다

적합한 대상

  • 복잡한 스크롤 기반 UI를 구축하는 개발자
  • 동기화된 콘텐츠 표시가 필요한 앱
  • 여러 스크롤 가능한 섹션을 가진 UI
  • 반응형 레이아웃을 구현하는 디자이너
  • 다중 플랫폼 배포를 목표로 하는 팀

고려 사항

  • 스크롤 방향과 축 정렬을 신중하게 다뤄야 합니다
  • 대규모 데이터 세트에서 성능에 영향을 미칠 수 있습니다
  • 독립적인 스크롤 동작에 적합하지 않습니다
  • 충돌을 방지하기 위해 적절한 상태 관리가 필요합니다
  • 수직 또는 수평 동기화에 제한되며, 동시에 둘 다는 불가능

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

Build

Flutter widgets

This repository contains the source code for various Flutter widgets that are developed by Google but not by the core Flutter team.

The product and source code here are neither endorsed by Google nor the Flutter team. They are mainly made available as a reference. Support is best-effort.

Packages

Package Description Version
flutter_simple_treeview A widget, that visualises a tree structure, where a node can be any widget. pub package
linked_scroll_controller A scroll controller that allows two or more scroll views to be in sync. pub package
scrollable_positioned_list A list with helper methods to programmatically scroll to an item. pub package
self_storing_input A set of input widgets that automatically save and load the entered value to a data store. pub package
visibility_detector A widget that detects the visibility of its child and notifies a callback. pub package

Issues

Please file any issues, bugs, or feature requests in the this repo.

Contributing

If you wish to contribute a change to any of the existing widgets in this repo, please review our contribution guide, and send a pull request.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트