remove unneeded material

This commit is contained in:
Filip Krawczyk 2022-08-25 17:42:31 +02:00
parent c83e93c755
commit d11a46393b
1 changed files with 6 additions and 8 deletions

View File

@ -66,8 +66,7 @@ class EditorToolbar extends HookWidget {
? Container( ? Container(
height: _height, height: _height,
width: double.infinity, width: double.infinity,
color: Theme.of(context).cardColor, color: Theme.of(context).canvasColor,
child: Material(
child: SingleChildScrollView( child: SingleChildScrollView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
child: _ToolbarBody( child: _ToolbarBody(
@ -75,7 +74,6 @@ class EditorToolbar extends HookWidget {
instanceHost: instanceHost, instanceHost: instanceHost,
), ),
), ),
),
) )
: const SizedBox.shrink(), : const SizedBox.shrink(),
), ),