From bf0dc7b56cbf48ddbe56863b86b05354b7c81f8e Mon Sep 17 00:00:00 2001 From: hannathkadher Date: Wed, 20 Nov 2024 12:31:27 +0400 Subject: [PATCH] Added assets --- assets/icons/1G_touch_switch.svg | 5 ++ assets/icons/2G_touch_switch.svg | 6 ++ assets/icons/3G_touch_switch.svg | 7 ++ assets/icons/garage_opener.svg | 135 +++++++++++++++++++++++++++++ assets/icons/power_clamp.svg | 43 +++++++++ assets/icons/water_leak_sensor.svg | 8 ++ lib/utils/constants/assets.dart | 56 ++++++------ 7 files changed, 234 insertions(+), 26 deletions(-) create mode 100644 assets/icons/1G_touch_switch.svg create mode 100644 assets/icons/2G_touch_switch.svg create mode 100644 assets/icons/3G_touch_switch.svg create mode 100644 assets/icons/garage_opener.svg create mode 100644 assets/icons/power_clamp.svg create mode 100644 assets/icons/water_leak_sensor.svg diff --git a/assets/icons/1G_touch_switch.svg b/assets/icons/1G_touch_switch.svg new file mode 100644 index 00000000..45679cfb --- /dev/null +++ b/assets/icons/1G_touch_switch.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/icons/2G_touch_switch.svg b/assets/icons/2G_touch_switch.svg new file mode 100644 index 00000000..1893fd21 --- /dev/null +++ b/assets/icons/2G_touch_switch.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/icons/3G_touch_switch.svg b/assets/icons/3G_touch_switch.svg new file mode 100644 index 00000000..4a271a4a --- /dev/null +++ b/assets/icons/3G_touch_switch.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/icons/garage_opener.svg b/assets/icons/garage_opener.svg new file mode 100644 index 00000000..20a31aca --- /dev/null +++ b/assets/icons/garage_opener.svg @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/power_clamp.svg b/assets/icons/power_clamp.svg new file mode 100644 index 00000000..a2f21e3a --- /dev/null +++ b/assets/icons/power_clamp.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/icons/water_leak_sensor.svg b/assets/icons/water_leak_sensor.svg new file mode 100644 index 00000000..8f67d0ee --- /dev/null +++ b/assets/icons/water_leak_sensor.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/lib/utils/constants/assets.dart b/lib/utils/constants/assets.dart index ed30fd74..c57cbdb1 100644 --- a/lib/utils/constants/assets.dart +++ b/lib/utils/constants/assets.dart @@ -16,8 +16,7 @@ class Assets { static const String invisiblePassword = "assets/images/Password_invisible.svg"; static const String visiblePassword = "assets/images/password_visible.svg"; static const String accessIcon = "assets/images/access_icon.svg"; - static const String spaseManagementIcon = - "assets/images/spase_management_icon.svg"; + static const String spaseManagementIcon = "assets/images/spase_management_icon.svg"; static const String devicesIcon = "assets/images/devices_icon.svg"; static const String moveinIcon = "assets/images/movein_icon.svg"; static const String constructionIcon = "assets/images/construction_icon.svg"; @@ -30,15 +29,13 @@ class Assets { static const String emptyTable = "assets/images/empty_table.svg"; // General assets - static const String motionlessDetection = - "assets/icons/motionless_detection.svg"; + static const String motionlessDetection = "assets/icons/motionless_detection.svg"; static const String acHeating = "assets/icons/ac_heating.svg"; static const String acPowerOff = "assets/icons/ac_power_off.svg"; static const String acFanMiddle = "assets/icons/ac_fan_middle.svg"; static const String switchAlarmSound = "assets/icons/switch_alarm_sound.svg"; static const String resetOff = "assets/icons/reset_off.svg"; - static const String sensitivityOperationIcon = - "assets/icons/sesitivity_operation_icon.svg"; + static const String sensitivityOperationIcon = "assets/icons/sesitivity_operation_icon.svg"; static const String motionDetection = "assets/icons/motion_detection.svg"; static const String freezing = "assets/icons/freezing.svg"; static const String indicator = "assets/icons/indicator.svg"; @@ -59,40 +56,41 @@ class Assets { static const String celsiusDegrees = "assets/icons/celsius_degrees.svg"; static const String masterState = "assets/icons/master_state.svg"; static const String acPower = "assets/icons/ac_power.svg"; - static const String farDetectionFunction = - "assets/icons/far_detection_function.svg"; + static const String farDetectionFunction = "assets/icons/far_detection_function.svg"; static const String nobodyTime = "assets/icons/nobody_time.svg"; // Automation functions - static const String tempPasswordUnlock = "assets/icons/automation_functions/temp_password_unlock.svg"; - static const String doorlockNormalOpen = "assets/icons/automation_functions/doorlock_normal_open.svg"; + static const String tempPasswordUnlock = + "assets/icons/automation_functions/temp_password_unlock.svg"; + static const String doorlockNormalOpen = + "assets/icons/automation_functions/doorlock_normal_open.svg"; static const String doorbell = "assets/icons/automation_functions/doorbell.svg"; - static const String remoteUnlockViaApp = "assets/icons/automation_functions/remote_unlock_via_app.svg"; + static const String remoteUnlockViaApp = + "assets/icons/automation_functions/remote_unlock_via_app.svg"; static const String doubleLock = "assets/icons/automation_functions/double_lock.svg"; static const String selfTestResult = "assets/icons/automation_functions/self_test_result.svg"; static const String lockAlarm = "assets/icons/automation_functions/lock_alarm.svg"; static const String presenceState = "assets/icons/automation_functions/presence_state.svg"; static const String currentTemp = "assets/icons/automation_functions/current_temp.svg"; static const String presence = "assets/icons/automation_functions/presence.svg"; - static const String residualElectricity = "assets/icons/automation_functions/residual_electricity.svg"; + static const String residualElectricity = + "assets/icons/automation_functions/residual_electricity.svg"; static const String hijackAlarm = "assets/icons/automation_functions/hijack_alarm.svg"; static const String passwordUnlock = "assets/icons/automation_functions/password_unlock.svg"; - static const String remoteUnlockRequest = "assets/icons/automation_functions/remote_unlock_req.svg"; + static const String remoteUnlockRequest = + "assets/icons/automation_functions/remote_unlock_req.svg"; static const String cardUnlock = "assets/icons/automation_functions/card_unlock.svg"; static const String motion = "assets/icons/automation_functions/motion.svg"; - static const String fingerprintUnlock = "assets/icons/automation_functions/fingerprint_unlock.svg"; + static const String fingerprintUnlock = + "assets/icons/automation_functions/fingerprint_unlock.svg"; // Presence Sensor Assets static const String sensorMotionIcon = "assets/icons/sensor_motion_ic.svg"; - static const String sensorPresenceIcon = - "assets/icons/sensor_presence_ic.svg"; + static const String sensorPresenceIcon = "assets/icons/sensor_presence_ic.svg"; static const String sensorVacantIcon = "assets/icons/sensor_vacant_ic.svg"; - static const String illuminanceRecordIcon = - "assets/icons/illuminance_record_ic.svg"; - static const String presenceRecordIcon = - "assets/icons/presence_record_ic.svg"; - static const String helpDescriptionIcon = - "assets/icons/help_description_ic.svg"; + static const String illuminanceRecordIcon = "assets/icons/illuminance_record_ic.svg"; + static const String presenceRecordIcon = "assets/icons/presence_record_ic.svg"; + static const String helpDescriptionIcon = "assets/icons/help_description_ic.svg"; static const String lightPulp = "assets/icons/light_pulb.svg"; static const String acDevice = "assets/icons/ac_device.svg"; @@ -142,12 +140,10 @@ class Assets { static const String unit = 'assets/icons/unit_icon.svg'; static const String villa = 'assets/icons/villa_icon.svg'; static const String iconEdit = 'assets/icons/icon_edit_icon.svg'; - static const String textFieldSearch = - 'assets/icons/textfield_search_icon.svg'; + static const String textFieldSearch = 'assets/icons/textfield_search_icon.svg'; static const String roundedAddIcon = 'assets/icons/rounded_add_icon.svg'; static const String addIcon = 'assets/icons/add_icon.svg'; - static const String smartThermostatIcon = - 'assets/icons/smart_thermostat_icon.svg'; + static const String smartThermostatIcon = 'assets/icons/smart_thermostat_icon.svg'; static const String smartLightIcon = 'assets/icons/smart_light_icon.svg'; static const String presenceSensor = 'assets/icons/presence_sensor.svg'; static const String Gang3SwitchIcon = 'assets/icons/3_Gang_switch_icon.svg'; @@ -229,4 +225,12 @@ class Assets { //assets/icons/sos_normal.svg static const String sosNormal = 'assets/icons/sos_normal.svg'; + + static const String waterLeakSensor = 'assets/icons/water_leak_sensor.svg'; + static const String powerClamp = 'assets/icons/power_clamp.svg'; + static const String threeTouchSwitch = 'assets/icons/3G_touch_switch.svg'; + static const String twoTouchSwitch = 'assets/icons/2G_touch_switch.svg'; + static const String oneTouchSwitch = 'assets/icons/1G_touch_switch.svg'; + + static const String garageDoor = 'assets/icons/garage_opener.svg'; }