Skip to content

While Dragging the child outside of the DragAndDropGridView getting error in scrollController and draggable not working any solution to restrict drag within the DragAndDropGridView #28

@BlackStriker99

Description

@BlackStriker99

`======== Exception caught by animation library =====================================================
The following assertion was thrown while notifying listeners for AnimationController:
'package:flutter/src/widgets/scroll_notification.dart': Failed assertion: line 186 pos 15: 'overscroll.isFinite': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new?template=2_bug.md

When the exception was thrown, this was the stack:
#2 new OverscrollNotification (package:flutter/src/widgets/scroll_notification.dart:186:15)
#3 DrivenScrollActivity.dispatchOverscrollNotification (package:flutter/src/widgets/scroll_activity.dart:644:5)
#4 ScrollPosition.didOverscrollBy (package:flutter/src/widgets/scroll_position.dart:888:15)
#5 ScrollPosition.setPixels (package:flutter/src/widgets/scroll_position.dart:279:9)
#6 ScrollPositionWithSingleContext.setPixels (package:flutter/src/widgets/scroll_position_with_single_context.dart:82:18)
...
The AnimationController notifying listeners was: AnimationController#7040c(▶ Infinity; for DrivenScrollActivity)

======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
'package:flutter/src/rendering/viewport.dart': Failed assertion: line 1909 pos 12: 'correctedOffset.isFinite': is not true.

`

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