Skip to content

Calling the CarouselSliderControllerImpl.animateToPage method results in a List.single error. #491

@dhc-liangshuang

Description

@dhc-liangshuang

Non-fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: start_up-User.other-Bad state: No element. Error thrown pure log.
#00 pc 0x4d2ebb (List.single [growable_array.dart:362]) (BuildId: e4f372b4be0cfd5c7653648d04cfd9d6)
#1 pc 0xd24327 (CarouselSliderControllerImpl.animateToPage [scroll_controller.dart:173]) (BuildId: e4f372b4be0cfd5c7653648d04cfd9d6)
#2 pc 0x58c6e7 (HomeBannerController.resetAlloxBannerCurrentPage [home_banner_controller.dart:151]) (BuildId: e4f372b4be0cfd5c7653648d04cfd9d6)
#3 pc 0x58c61f (HomeController.setNeedsUpdateData [home_controller.dart:429]) (BuildId: e4f372b4be0cfd5c7653648d04cfd9d6)

In calling the swiperController? .animateToPage(0). If the above crash issue occurs, please help analyze it. Thank you very much.

carousel_slider: 5.0.0
flutter:3.32.7

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