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.
pull/831/head
Holistic Apps 3 years ago committed by GitHub
parent 88c3fcf4c8
commit 326e79ca52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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) {

Loading…
Cancel
Save