Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Linked Scroll Controller error when use ListView, _LinkedScrollPosition cannot change controllers once created. #172

@anhlevfx

Description

@anhlevfx

Hello, I have problem when use linked_scroll_controller lib package

I create a stateless widget (A) include 3 list view and link them with LinkedScrollControllerGroup.
I put A in as item of parent list view (B).
Problem is when I scroll B, usually I got an error log below

_LinkedScrollPosition cannot change controllers once created.
'package:linked_scroll_controller/linked_scroll_controller.dart':
Failed assertion: line 139 pos 12: 'linkedPosition.owner == this'

I set key for each item of B but problem still happen randomly.

Please help me resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions