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( ? 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( controller: controller,
controller: controller, instanceHost: instanceHost,
instanceHost: instanceHost,
),
), ),
), ),
) )