add Logo frame
This commit is contained in:
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(
|
||||||
|
|||||||
Reference in New Issue
Block a user