Refactor badge handling across components to use m3e colors, remove unused _SmallDot widget, and clean up redundant code.
This commit is contained in:
parent
4940d3ce69
commit
05c489991a
6 changed files with 21 additions and 32 deletions
|
|
@ -368,8 +368,6 @@ class _SplitButtonM3EState<T> extends State<SplitButtonM3E<T>> {
|
|||
setState(() => _menuOpen = true);
|
||||
|
||||
// Ensure menu item text/icon colors match the button's foreground (onCont)
|
||||
final theme = Theme.of(context);
|
||||
final m3e = context.m3e;
|
||||
final (
|
||||
Color _cont,
|
||||
Color onCont,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue