Describe the bug
When using a RubberAnimationController like this one:
_controller = RubberAnimationController( vsync: this, halfBoundValue: AnimationControllerValue(percentage: 0.5), lowerBoundValue: AnimationControllerValue(pixel: 200), duration: Duration(milliseconds: 200) );
and an upper layer like this:
Widget _getUpperLayer() { return Container( height: 200.0, decoration: BoxDecoration( color: Colors.cyan ), ); }
then after starting the app everything looks fine, collapsed state:

Expanded state:

(note this is only for demonstration purposes, of course 200 pixel tall strip as a upper layer doesn't make a lot of sense)
Now I collapse the bottom sheet again and go into landscape mode:

The bottom sheet is not at the right position. A part of it is hidden below the screen.
Expanded in landscape:

To Reproduce
Steps to reproduce the behavior:
- open the default.dart file in the example app
- Write this on line 96:
height: 200.0,
- Start the example App and open the default example. Rotate the screen.
Expected behavior
In the horizontal, as well as in the vertical position the full 200.0 pixel tall strip should be visible in the collapsed state.
Smartphone (please complete the following information):
Describe the bug
When using a RubberAnimationController like this one:
_controller = RubberAnimationController( vsync: this, halfBoundValue: AnimationControllerValue(percentage: 0.5), lowerBoundValue: AnimationControllerValue(pixel: 200), duration: Duration(milliseconds: 200) );and an upper layer like this:
Widget _getUpperLayer() { return Container( height: 200.0, decoration: BoxDecoration( color: Colors.cyan ), ); }then after starting the app everything looks fine, collapsed state:
Expanded state:
(note this is only for demonstration purposes, of course 200 pixel tall strip as a upper layer doesn't make a lot of sense)
Now I collapse the bottom sheet again and go into landscape mode:

The bottom sheet is not at the right position. A part of it is hidden below the screen.
Expanded in landscape:
To Reproduce
Steps to reproduce the behavior:
height: 200.0,Expected behavior
In the horizontal, as well as in the vertical position the full 200.0 pixel tall strip should be visible in the collapsed state.
Smartphone (please complete the following information):