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