add Logo frame
This commit is contained in:
parent
c838b3ff27
commit
ce436908c0
3 changed files with 24 additions and 0 deletions
BIN
Frontend/patient_manager/images/frame_dark.png
Normal file
BIN
Frontend/patient_manager/images/frame_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
Frontend/patient_manager/images/frame_light.png
Normal file
BIN
Frontend/patient_manager/images/frame_light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 44 KiB |
|
|
@ -103,6 +103,30 @@ class MyTheme {
|
||||||
return Color(_succColor);
|
return Color(_succColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AssetImage logoFrame() {
|
||||||
|
if (mode == "Dark") {
|
||||||
|
return const AssetImage(
|
||||||
|
'images/frame_dark.png',
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
return const AssetImage(
|
||||||
|
'images/frame_light.png',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AssetImage altLogoFrame() {
|
||||||
|
if (mode == "Light") {
|
||||||
|
return const AssetImage(
|
||||||
|
'images/frame_dark.png',
|
||||||
|
);
|
||||||
|
} else {
|
||||||
|
return const AssetImage(
|
||||||
|
'images/frame_light.png',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
AssetImage logoImage() {
|
AssetImage logoImage() {
|
||||||
if (mode == "Dark") {
|
if (mode == "Dark") {
|
||||||
return const AssetImage(
|
return const AssetImage(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue