fix popup menu

This commit is contained in:
Christien Rioux 2025-05-28 14:38:42 -05:00
parent 8aaca62ea7
commit 6421a77572
4 changed files with 15 additions and 34 deletions

View file

@ -192,9 +192,10 @@ class ScaleTheme extends ThemeExtension<ScaleTheme> {
ScaleInputDecoratorTheme(scheme, config, textTheme),
sliderTheme: sliderTheme,
popupMenuTheme: PopupMenuThemeData(
color: scheme.primaryScale.subtleBackground,
color: scheme.primaryScale.elementBackground,
shadowColor: Colors.transparent,
shape: RoundedRectangleBorder(
side: BorderSide(color: scheme.primaryScale.border, width: 2),
borderRadius:
BorderRadius.circular(8 * config.borderRadiusScale))),
extensions: <ThemeExtension<dynamic>>[scheme, config, this]);