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)
...
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: