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,14 +66,12 @@ class EditorToolbar extends HookWidget {
? Container(
height: _height,
width: double.infinity,
color: Theme.of(context).cardColor,
child: Material(
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: _ToolbarBody(
controller: controller,
instanceHost: instanceHost,
),
color: Theme.of(context).canvasColor,
child: SingleChildScrollView(
scrollDirection: Axis.horizontal,
child: _ToolbarBody(
controller: controller,
instanceHost: instanceHost,
),
),
)