Skip to content

Performance lag with flutter_sticky_header on Flutter 3.32.8 #111

@jcazalELPAKOMICHI

Description

@jcazalELPAKOMICHI

Hi there,

After upgrading to Flutter 3.32.8, I've noticed a significant performance lag when using the flutter_sticky_header package. The same implementation worked smoothly in previous Flutter versions.

Description:

  • When scrolling a CustomScrollView with multiple SliverStickyHeader sections, the UI stutters and becomes noticeably laggy.
  • This happens even with small lists.
  • I’ve updated flutter_sticky_header to the latest version.
  • The issue persists on both emulator and physical devices.

Steps to Reproduce:

  1. Create a CustomScrollView with multiple SliverStickyHeader widgets.
  2. Add a list under each sticky header.
  3. Run the app on Flutter 3.32.8 and scroll.

Expected:

Smooth scrolling, as in previous Flutter versions.

Actual:

Visible lag and frame drops when scrolling.

Environment:

  • Flutter: 3.32.8
  • flutter_sticky_header: (latest)
  • Tested on: Android Emulator & Physical Android device

Question:

Is anyone else experiencing this issue?
Any idea how to fix or optimize for Flutter 3.32.8?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions