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 child: visible
? Container( ? Material(
height: _height,
width: double.infinity,
color: Theme.of(context).canvasColor, color: Theme.of(context).canvasColor,
child: SingleChildScrollView( child: SizedBox(
scrollDirection: Axis.horizontal, height: _height,
child: _ToolbarBody( width: double.infinity,
controller: controller, child: SingleChildScrollView(
instanceHost: instanceHost, scrollDirection: Axis.horizontal,
child: _ToolbarBody(
controller: controller,
instanceHost: instanceHost,
),
), ),
), ),
) )