forked from yaso_meth/mih-project
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);
|
||||
}
|
||||
|
||||
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() {
|
||||
if (mode == "Dark") {
|
||||
return const AssetImage(
|
||||
|
||||
Reference in New Issue
Block a user