use get instead of static value
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
29b0a7659f
commit
4b52414e03
@ -125,7 +125,7 @@ class _ToolbarTheme {
|
|||||||
: EdgeInsets.fromLTRB(6, 14, 6, 14);
|
: EdgeInsets.fromLTRB(6, 14, 6, 14);
|
||||||
static const double menuButtonBorderRadius = 3.0;
|
static const double menuButtonBorderRadius = 3.0;
|
||||||
|
|
||||||
static final borderColor =
|
static get borderColor =>
|
||||||
MyTheme.currentThemeMode() == ThemeMode.light ? bordLight : bordDark;
|
MyTheme.currentThemeMode() == ThemeMode.light ? bordLight : bordDark;
|
||||||
|
|
||||||
static final defaultMenuStyle = MenuStyle(
|
static final defaultMenuStyle = MenuStyle(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user