fix: update the color of the selection menu item

This commit is contained in:
Lucas.Xu 2023-02-09 12:37:00 +08:00
parent 95ec607482
commit 84ea888c73

View File

@ -23,7 +23,10 @@ EditorStyle customEditorTheme(BuildContext context) {
fontFamily: 'poppins-Bold',
),
backgroundColor: Theme.of(context).colorScheme.surface,
selectionMenuItemSelectedIconColor: Theme.of(context).colorScheme.primary,
selectionMenuItemSelectedIconColor:
Theme.of(context).textTheme.bodyMedium?.color,
selectionMenuItemSelectedTextColor:
Theme.of(context).textTheme.bodyMedium?.color,
);
return editorStyle;
}