From c2db24133bcc6205e71a936462edb2b9d1af42d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Fri, 16 Jan 2026 14:14:36 +0100 Subject: [PATCH] Enhance button styles by setting transparent overlay color in document viewer --- b0esche_cloud/lib/pages/document_viewer.dart | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/b0esche_cloud/lib/pages/document_viewer.dart b/b0esche_cloud/lib/pages/document_viewer.dart index 71d37e2..139f8eb 100644 --- a/b0esche_cloud/lib/pages/document_viewer.dart +++ b/b0esche_cloud/lib/pages/document_viewer.dart @@ -562,6 +562,9 @@ class _DocumentViewerModalState extends State { TextButton( style: ButtonStyle( splashFactory: NoSplash.splashFactory, + overlayColor: WidgetStateProperty.all( + Colors.transparent, + ), ), onPressed: () => Navigator.of(context).pop(false), child: const Text( @@ -572,6 +575,9 @@ class _DocumentViewerModalState extends State { TextButton( style: ButtonStyle( splashFactory: NoSplash.splashFactory, + overlayColor: WidgetStateProperty.all( + Colors.transparent, + ), ), onPressed: () => Navigator.of(context).pop(true), child: const Text( @@ -1004,6 +1010,9 @@ class _DocumentViewerState extends State { TextButton( style: ButtonStyle( splashFactory: NoSplash.splashFactory, + overlayColor: WidgetStateProperty.all( + Colors.transparent, + ), ), onPressed: () => Navigator.of(context).pop(false), child: const Text( @@ -1014,6 +1023,9 @@ class _DocumentViewerState extends State { TextButton( style: ButtonStyle( splashFactory: NoSplash.splashFactory, + overlayColor: WidgetStateProperty.all( + Colors.transparent, + ), ), onPressed: () => Navigator.of(context).pop(true), child: const Text(