Closed murphycrosby closed 5 years ago
Had to not use the Header component, but put everything in a stack.
upperLayer: Stack(
children: <Widget>[
Container(
height: 69.0,
child: ListView.builder(
physics: NeverScrollableScrollPhysics(),
itemCount: 1,
itemBuilder: (BuildContext context, int index) {
return _getHeaderLayer();
}
),
),
Transform.translate(
offset: Offset(0, 69.0),
child: _getUpperLayer(state),
),
]
),
Following your suggestion, It should be fixed now. The bottom sheet also accepts a new parameter called headerHeight, in the future I'll try to find a way to automatically detect the height of the header
Describe the bug Trying to have the RubberBottomSheet over GoogleMaps and allow the user to search. I can get the look needed, but everything seems to cause 'RenderFlex overflowed by 1.4 pixels on the bottom.' when moving Bottom sheet up and down...especially when using the header. I've tried using Stacks, ListViews, ClipRects, SingleChildScrollView, etc. However, always get an overflow.
To Reproduce
Expected behavior Not overflow
Screenshots Example of what we are going for...
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.