Skip to content

Performance issues #12

@lavanoped

Description

@lavanoped

When I try to use Swiper, itemBuilder widgets of moderately complexity there is significant lagging.
The GPU thread is giving red bar throughout the swiping scroll and in the UI thread during the start of scroll in profiling mode. I think part of the reason is that each time I try to pan, all the widgets seem to re-rendering throughout the scrolling session. So it's like creating 'itemCount: 4' complex widget tree structure throughout the scrolling.

Is there a way to reduce the lag, My widgets are fairly well written. Is it possible to scrolling animation without rendering it throughout the scrolling action.

I'm using the STACK layout -> _CustomLayoutStateBase<_StackSwiper>

Regards,
Lavan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions