expandable_page_view icon indicating copy to clipboard operation
expandable_page_view copied to clipboard

propably fix #53

Open jayjah opened this issue 1 year ago • 2 comments

Should be a fix to Issue#53 It just makes sure, that clamp get's called on a valid range otherwise it might just throw an error like the following:

Invalid argument(s): 0
       at int.clamp(dart:core)
       at _ExpandablePageViewState.initState(expandable_page_view.dart:210)
       at StatefulElement._firstBuild(framework.dart:5430)
       at ComponentElement.mount(framework.dart:5273)
       at Element.inflateWidget(framework.dart:4182)
       at MultiChildRenderObjectElement.inflateWidget(framework.dart:6569)
       at MultiChildRenderObjectElement.mount(framework.dart:6581)
       at Element.inflateWidget(framework.dart:4182)
       at Element.updateChild(framework.dart:3707)
       at SingleChildRenderObjectElement.mount(framework.dart:6434)
       at Element.inflateWidget(framework.dart:4182)
...

jayjah avatar Sep 20 '23 12:09 jayjah

@ciriousjoker I think you're completely right. I'll check your suggestion and make adjustments.

jayjah avatar May 29 '24 07:05 jayjah

@jayjah any updates?

ciriousjoker avatar Jul 01 '24 11:07 ciriousjoker