add Material back in -_- cuz it's needed for splash

This commit is contained in:
Filip Krawczyk 2022-08-25 23:21:28 +02:00
parent 87726f283b
commit c15cfdf02c
1 changed files with 10 additions and 8 deletions

View File

@ -73,15 +73,17 @@ class EditorToolbar extends HookWidget {
);
},
child: visible
? Container(
height: _height,
width: double.infinity,
? Material(
color: Theme.of(context).canvasColor,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: _ToolbarBody(
controller: controller,
instanceHost: instanceHost,
child: SizedBox(
height: _height,
width: double.infinity,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: _ToolbarBody(
controller: controller,
instanceHost: instanceHost,
),
),
),
)