From 326e79ca52cda4b416e45942d4ede57652711c34 Mon Sep 17 00:00:00 2001 From: Holistic Apps Date: Sun, 22 May 2022 14:03:01 +0200 Subject: [PATCH] Update toolbar.dart The text color of the PopupMenuItem should not be fixed to black. It looks bad in DarkMode and you can't style it via the theme. Changed to null to use the style from the theme. --- lib/src/widgets/toolbar.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/widgets/toolbar.dart b/lib/src/widgets/toolbar.dart index b1ec4ff9..ab2c955f 100644 --- a/lib/src/widgets/toolbar.dart +++ b/lib/src/widgets/toolbar.dart @@ -198,7 +198,7 @@ class QuillToolbar extends StatelessWidget implements PreferredSizeWidget { style: TextStyle( color: fontSize.value == '0' ? Colors.red - : Colors.black)), + : null)), ), ], onSelected: (newSize) {