Fix collapsed toolbar drag preview sizing
This commit is contained in:
parent
95758b1a47
commit
66e39abb74
1 changed files with 5 additions and 2 deletions
|
|
@ -346,8 +346,11 @@ class _RemoteToolbarState extends State<RemoteToolbar> {
|
|||
);
|
||||
return Align(
|
||||
alignment: FractionalOffset(_fractionX.value, 0),
|
||||
child: Offstage(
|
||||
offstage: _dragging.isTrue,
|
||||
child: Visibility(
|
||||
visible: _dragging.isFalse,
|
||||
maintainSize: true,
|
||||
maintainAnimation: true,
|
||||
maintainState: true,
|
||||
child: Material(
|
||||
elevation: _ToolbarTheme.elevation,
|
||||
shadowColor: MyTheme.color(context).shadow,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue