chore: More nicer event source display

This commit is contained in:
krille-chan 2024-04-18 11:12:55 +02:00
parent 0210f791a0
commit ac1ed4dfd0
No known key found for this signature in database

View file

@ -72,11 +72,16 @@ class EventInfoDialog extends StatelessWidget {
padding: const EdgeInsets.all(12.0),
child: Material(
borderRadius: BorderRadius.circular(AppConfig.borderRadius),
color: Theme.of(context).colorScheme.surface,
color: Theme.of(context).colorScheme.inverseSurface,
child: SingleChildScrollView(
padding: const EdgeInsets.all(8),
scrollDirection: Axis.horizontal,
child: SelectableText(prettyJson),
child: SelectableText(
prettyJson,
style: TextStyle(
color: Theme.of(context).colorScheme.onInverseSurface,
),
),
),
),
),