map_location_picker
map_location_picker copied to clipboard
Layout position adjustment
Hi there, thank you so much for this flutter package I can see how much work has gone into it. I am having an issue when I use the example code and simply try to put it into a new screen on my app. I cannot see what's causing this and I was hoping someone with better knowledge of the inner workings of this package might be able to tell me. Here is a screenshot where you can see the whole picker screen is off screen and pushed into the corner
I guess I might have found some source of the problem as i try move things around.
FlutterError (RenderCustomMultiChildLayoutBox object was given an infinite size during layout.
This probably means that it is a render object that tries to be as big as possible, but it was put inside another render object that allows its children to pick their own size.
The nearest ancestor providing an unbounded height constraint is: _RenderSingleChildViewport#7253d relayoutBoundary=up14 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
needs compositing
creator: _SingleChildViewport ← IgnorePointer-[GlobalKey#044ab] ← Semantics ← Listener ← _GestureSemantics ← RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#0de94] ← Listener ← _ScrollableScope ← _ScrollSemantics-[GlobalKey#5fa71] ← NotificationListener<ScrollMetricsNotification> ← RepaintBoundary ← CustomPaint-[GlobalKey#9d1a6] ← ⋯
parentData: <none> (can use size)
constraints: BoxConstraints(0.0<=w<=549.0, 0.0<=h<=544.0)
size: MISSING
offset: Offset(0.0, -0.0)
The constraints that applied to the RenderCustomMultiChildLayoutBox were:
BoxConstraints(0.0<=w<=517.0, 0.0<=h<=Infinity)
The exact size it was given was:
Size(517.0, Infinity)
See https://flutter.dev/to/unbounded-constraints for more information.)