Fix copy button background color

This commit is contained in:
hunteraraujo
2023-08-24 21:53:35 -07:00
parent 2ca75159e3
commit b312b1d481

View File

@@ -48,6 +48,7 @@ class JsonCodeSnippetView extends StatelessWidget {
// SizedBox to create a gap between the code snippet view and the copy button
const SizedBox(width: 20),
Material(
color: Colors.white,
// IconButton to allow the user to copy the pretty-printed JSON to the clipboard
child: IconButton(
icon: const Icon(Icons.copy),