Compare commits

...

333 commits
v.1.7 ... main

Author SHA1 Message Date
Yoshi
9ba80c3609 Refactor code 2025-05-28 17:42:15 +03:00
Yoshi
33be8dcdc6 Update dependencies 2025-04-25 18:57:26 +03:00
Yoshi
089f3ae0b7 issue #201 2025-03-16 21:24:22 +03:00
Yoshi
fb150421a6 Fix bugs 2025-03-15 23:40:48 +03:00
Yoshi
d169f6237f Update README.md 2025-03-13 22:24:56 +03:00
Yoshi
e14dc03524 Update README.md 2025-03-12 22:21:22 +03:00
Yoshi
97aa5024b4 Update README.md 2025-03-11 21:01:16 +03:00
Yoshi
f880c5d274 Update dependencies and delete support 2025-03-02 15:58:04 +03:00
Yoshi
0973fb5230 Update dependencies 2025-02-08 13:09:25 +03:00
Yoshi
416f77765c Update dependencies 2025-01-08 14:26:35 +03:00
Yoshi
a59c6b7338 Android 15 2025-01-08 12:22:43 +03:00
Yoshi
0552a84e6f Fix dependencies 2024-12-15 13:41:23 +03:00
Yoshi
3a23dd6288 Update java 2024-11-10 19:55:18 +03:00
Yoshi
b7d0e8012a Update dependencies 2024-11-03 20:51:49 +03:00
Yoshi
fa0921d1b0 Fix settings gradle 2024-10-12 22:27:27 +03:00
Yoshi
7a00917ca2 Update build.gradle 2024-10-05 22:23:21 +03:00
Yoshi
ddf7115579 Update gradle 2024-10-05 17:49:08 +03:00
Yoshi
014a52c215 Rename folders 2024-09-06 22:07:50 +03:00
Yoshi
07142e25a7 Hide map 2024-08-30 22:31:42 +03:00
Yoshi
55e813749a Fix widget 2024-08-29 22:00:08 +03:00
Yoshi
1d7cbbd1bf Fix map and add new button 2024-08-28 21:52:42 +03:00
Yoshi
1ea344c69a Settings widget 2024-08-26 21:27:15 +03:00
Yoshi
5cd6e2e6c8 Delete 2gis 2024-08-23 07:15:37 +03:00
Yoshi
c0c15bb811 Fix ExpandableFab 2024-08-22 23:34:56 +03:00
Yoshi
d5a34ea11b Fix map 2024-08-22 22:49:37 +03:00
Yoshi
f174c0f336 Add buttons to the map 2024-08-21 23:20:50 +03:00
Yoshi
d0791279a2 Fix animation markers 2024-08-21 21:55:29 +03:00
Yoshi
88a7bafffb Add clear cache 2024-08-20 22:19:02 +03:00
Yoshi
27e276a092 Add search the map 2024-08-18 18:35:30 +03:00
Yoshi
383fb24881 Fix markers 2024-08-18 14:08:54 +03:00
Yoshi
8ed047a1aa Add markers 2024-08-15 22:39:51 +03:00
Yoshi
6c7da7b28d Add map 2024-08-12 21:03:35 +03:00
Yoshi
b2e843c5d9 Update dependencies 2024-08-09 22:19:37 +03:00
Yoshi
91e1757a20 Replacing SizedBox with Gap 2024-08-04 11:48:25 +03:00
Yoshi
8bce420296 Fix UI 2024-08-03 18:55:26 +03:00
Yoshi
2cc70f9221 Add mmHg and m/s 2024-08-02 22:52:33 +03:00
Yoshi
dd57938153 Fix anim new add form && Add feels to the top tile 2024-07-29 22:37:08 +03:00
Yoshi
fc246ac5a2 Add new form create_card_weather 2024-07-24 23:07:35 +03:00
Yoshi
33ceb30885 Fix api code 2024-07-13 07:00:58 +03:00
Yoshi
46e1546e5b Two weather display options 2024-07-10 21:59:36 +03:00
Yoshi
dd3339bc3b issue #185 2024-07-09 23:03:40 +03:00
Yoshi
9a7858f279 Fix widget 2024-07-07 22:26:29 +03:00
Yoshi
6d0d0efe36 Fix refresh 2024-07-07 15:01:58 +03:00
Yoshi
aa125fcdc1 Add search cards 2024-07-07 14:49:45 +03:00
Yoshi
0d565752d5 Fix redesign 2024-06-24 20:39:57 +03:00
Yoshi
6646f657d2 Redesign 2024-06-23 23:23:43 +03:00
Yoshi
647d620d45
Merge pull request #182 from Regu-Miabyss/patch-1
Update zh_tw.dart
2024-06-15 08:51:52 +03:00
Regu-Miabyss
b459a50f60
Update zh_tw.dart
Chinese (Traditional) translation fix
2024-06-15 08:12:12 +08:00
Yoshi
da64975e68 issue #179 2024-06-08 18:03:59 +03:00
Yoshi
58dbbe52ce Add locale ko_KR 2024-05-31 10:40:10 +03:00
Yoshi
275bbba853
Merge pull request #181 from tsyqax/main
Add Korean Translation
2024-05-31 10:32:51 +03:00
tsyqax6
ceb27da369
Translation (Start But End) 2024-05-31 12:34:23 +09:00
tsyqax6
b8600ab472
Create ko_kr.dart 2024-05-31 12:09:44 +09:00
Yoshi
3cfd4f8248 Fix flutter_native_splash 2024-05-26 19:09:28 +03:00
Yoshi
8eae7203f0 Update dependencies 2024-05-18 21:58:53 +03:00
Yoshi
42f7a2590e
Merge pull request #180 from jash13desai/main
Some UI Fixes
2024-05-14 11:54:04 +03:00
jash-desai
4b1536579d minor changes 2024-05-11 23:01:43 +05:30
jash-desai
f3400916d9 fixed horizontal padding in validator text in MyTextForm widget 2024-05-11 22:49:11 +05:30
jash-desai
696634c08f settings_full label text in bottom navbar fixed 2024-05-11 22:31:43 +05:30
Yoshi
a00abd4f3a Fix bug 2024-04-10 21:25:23 +03:00
Yoshi
1342079b6b Update dependencies 2024-04-05 22:52:00 +03:00
Yoshi
4d310776ce Add locale zh_TW 2024-03-11 23:42:29 +03:00
Yoshi
cb7367c04f
Merge pull request #173 from Regu-Miabyss/main
I made the Chinese(Traditional) translate.
2024-03-11 23:38:05 +03:00
Regu-Miabyss
51f72b4e7b
Update main.dart 2024-03-10 17:22:53 +08:00
Regu-Miabyss
400614a8f1
Add Chinese Traditional translation 2024-03-10 17:20:47 +08:00
Regu-Miabyss
1e11b6b775
Added Chinese Traditional translation 2024-03-10 17:19:04 +08:00
Yoshi
902bc45207 Add locale fa_IR 2024-03-03 16:11:30 +03:00
Yoshi
8275ec8f9e
Merge pull request #170 from behdanisohrab/main
Added Persian Translation
2024-03-02 17:13:47 +03:00
Sohrab Behdani
441a5ee680 Added Persian Translation 2024-03-02 10:44:42 +03:30
Yoshi
a46986f050 Update dependencies 2024-02-15 22:55:14 +03:00
Yoshi
fa5fbb8ce6 Add da_DK locale and fix error 2024-02-13 22:32:28 +03:00
Yoshi
cda285ea15
Merge pull request #168 from HJMVR/main
Danish translations
2024-02-13 22:05:22 +03:00
Yoshi
f08c459bc1
Update da_dk.dart 2024-02-13 22:04:57 +03:00
Hans-Jørgen Martinus Vork Rosenwein
1f945c4dfd
last update 2024-02-13 12:43:24 +01:00
Hans-Jørgen Martinus Vork Rosenwein
c5b55a291b
more danish 2024-02-13 12:34:29 +01:00
Hans-Jørgen Martinus Vork Rosenwein
013493c0dd
More danish updates 2024-02-13 12:21:08 +01:00
Hans-Jørgen Martinus Vork Rosenwein
58373c7c9c
UPdate 2024-02-13 11:26:30 +01:00
Hans-Jørgen Martinus Vork Rosenwein
504a77f6ad
Merge branch 'darkmoonight:main' into main 2024-02-13 11:21:43 +01:00
Hans-Jørgen Martinus Vork Rosenwein
0f29d2bdad
Update da_dk.dart 2024-02-12 20:04:55 +01:00
Yoshi
da07dc23c7 Add advanced search settings 2024-02-12 19:04:42 +03:00
Hans-Jørgen Martinus Vork Rosenwein
265ba143ab
Create da_dk.dart 2024-02-12 10:23:56 +01:00
Yoshi
f77d09d147 Add start search city 2024-02-11 22:00:37 +03:00
Yoshi
b160fc8fa4 minor fixes 2024-02-10 15:02:22 +03:00
Yoshi
225a5240b2
Merge pull request #166 from trueberryless/main
Fix: TabBar Changes delayed (1s) when scrolling
2024-02-10 14:58:59 +03:00
Yoshi
dc3f90e346
fix 2024-02-10 14:56:28 +03:00
trueberryless
e391c074c4 potential fix, not tested 2024-02-10 11:30:18 +01:00
Yoshi
d0464a5727 issue #158 2024-01-28 20:16:12 +03:00
Yoshi
42ad98da43
Update issue templates 2024-01-27 20:03:20 +03:00
Yoshi
6f195dc791 Add CODE_OF_CONDUCT and CONTRIBUTING 2024-01-27 20:00:48 +03:00
Yoshi
4c79b5e8c2 issue #156 2024-01-27 19:27:03 +03:00
Yoshi
2807fc08fb update dependencies 2024-01-27 18:44:14 +03:00
Yoshi
78c7519673 compress images 2024-01-05 19:24:21 +03:00
Yoshi
8435b7e2ce Fix UI 2024-01-05 18:55:14 +03:00
Yoshi
bf7ed5f9da Edit OnBording 2023-12-29 21:18:59 +03:00
Yoshi
7e13bf32b9 split up translations to separate files 2023-12-24 15:58:09 +03:00
Yoshi
c7798bc4d6 Update dependencies 2023-12-03 16:19:42 +03:00
Yoshi
6d249bd7a6 Update flutter and settings android 2023-11-18 13:51:52 +03:00
Yoshi
ba87cbd78d Update README.md 2023-11-01 11:33:05 +03:00
Yoshi
fe54dd91b9
Merge pull request #150 from nobunagaaa/patch-1
fixed typo
2023-10-31 21:06:18 +03:00
nobunagaaa
7aae058e35
fixed typos and formatting 2023-10-31 23:15:11 +05:30
Yoshi
df60d31e99 Update dependencies and status_weather.dart 2023-10-30 22:09:56 +03:00
Yoshi
5f71e44d1d
Merge pull request #149 from RitamChakraborty/dry/sunset_sunrise
Dry/sunset sunrise
2023-10-30 21:44:35 +03:00
Yoshi
0523449735
Merge pull request #148 from RitamChakraborty/main
Update status_weather.dart
2023-10-30 21:44:13 +03:00
Yoshi
50c14a45c2
Merge pull request #147 from Shuktika15/main
Code quality improvements
2023-10-30 21:43:36 +03:00
Yoshi
28e543d9f9
Merge pull request #146 from shatanikmahanty/main
Dry refactored code in desc module
2023-10-30 21:42:40 +03:00
Ritam Chakraborty
b7798d63b8
Update sunset_sunrise.dart
Dry refactored code
2023-10-30 23:22:51 +05:30
Ritam Chakraborty
682599a7a0
Update status_weather.dart
Dry refactored assets path
2023-10-30 23:20:43 +05:30
Shuktika Mahanty
09c9b22729
Update create_card_weather.dart
Refactored reusable textFieldElevation property
2023-10-30 23:10:17 +05:30
Shuktika Mahanty
2aa58f3a50
Update weather_hourly.dart
Dry refactored code
2023-10-30 23:09:10 +05:30
Shatanik Mahanty
1d6019234c Dry refactored code in desc module 2023-10-30 23:04:14 +05:30
Yoshi
5ae0262037 Add locale hu_HU 2023-10-30 09:40:48 +03:00
Yoshi
27538307bc
Merge pull request #139 from Agrwaltanisha/main
added hungarian translation
2023-10-30 09:35:57 +03:00
Yoshi
3bee98ab18
Merge pull request #145 from dalvishruti14/shruti
Added license section
2023-10-30 09:30:39 +03:00
Yoshi
f6055fb838
Update README.md 2023-10-30 09:30:17 +03:00
SHRUTI DALVI
319372d293 Added license section 2023-10-30 01:00:11 +05:30
Yoshi
a25de0e47f
Merge pull request #143 from 05hiteshbansal/05hiteshbansal-patch-1
Update lines with emphases on words README.md
2023-10-29 20:36:08 +03:00
Hitesh Bansal
8d9305d0a7
Update lines with emphases on words README.md 2023-10-29 23:01:41 +05:30
Yoshi
cd31ec1cb3
Merge pull request #142 from sayanm16/dry/refactor_code
dry refactored code in UI
2023-10-29 19:26:57 +03:00
Sayan Mukherjee
6ba460cfd6
Merge branch 'main' into dry/refactor_code 2023-10-29 21:28:33 +05:30
sayan
d22cdba9f8 dry refactored code in UI 2023-10-29 21:24:56 +05:30
Yoshi
ad58186614
Merge pull request #141 from Sentious/main
Added contributors section
2023-10-29 17:14:22 +03:00
Yoshi
2a4d3a03e7
emoji added 2023-10-29 17:13:54 +03:00
sentious
3fc2bb815d
Added contributors section
Added the contributors section in the README.md file displaying all the contributors.
2023-10-29 19:38:09 +05:30
sentious
255b984a2e
Added contributors section in README.md
Added the contributors section displaying profiles for all the contributors.
2023-10-29 19:37:10 +05:30
Yoshi
eb03e23dd1 fix links 2023-10-29 17:01:23 +03:00
Tanisha Agarwal
65676517b2
added hungarian translation 2023-10-29 14:53:26 +05:30
Yoshi
82c4f6a638
Merge pull request #138 from HimanshuMahto/patch-1
Typo error
2023-10-29 10:59:17 +03:00
Himanshu Kumar Mahto
bc333a28f4
Typo error 2023-10-29 13:04:01 +05:30
Yoshi
c0e88067e2 fix translation ka_GE, update README.md 2023-10-28 16:42:02 +03:00
Yoshi
5924f3e96f
Merge pull request #136 from PROSENJIT-RONI/main
Fixed app languages sort order and added Georgian language to list
2023-10-28 14:21:45 +03:00
Yoshi
8ab9339fa8
Merge pull request #135 from PROSENJIT-RONI/refactor/dry_home
Refactor/dry home
2023-10-28 14:20:51 +03:00
Yoshi
b231b43cf0
Merge pull request #134 from PROSENJIT-RONI/refactor/dry_settings
Made reusable variables in settings.dart
2023-10-28 14:20:38 +03:00
Prosenjit Swarnakar
42a24b6e1c Fixed app languages sort order and added Georgian language to list 2023-10-28 15:35:07 +05:30
Prosenjit Swarnakar
3d662906cf Made reusable variables in home.dart 2023-10-28 15:23:39 +05:30
Prosenjit Swarnakar
0fff07070d Made reusable variables in settings.dart 2023-10-28 15:06:18 +05:30
Yoshi
ede92464b2
Merge pull request #133 from HVbajoria/main
Added Georgian Translation
2023-10-28 11:04:09 +03:00
Harshavardhan Bajoria
24d6031c79
Added Georgian Translation 2023-10-28 13:00:14 +05:30
Yoshi
9333a91b42 added ga_IE 2023-10-24 21:02:32 +03:00
Yoshi
74494a168b
Merge pull request #131 from HVbajoria/main
Added Translation in Irish
2023-10-24 20:51:33 +03:00
Harshavardhan Bajoria
3f475ebfde
Added Translation in Irish 2023-10-24 21:45:35 +05:30
Yoshi
83186a6a64 added bn_IN 2023-10-23 21:20:41 +03:00
Yoshi
4ce9c95ff4
Merge pull request #129 from smty2018/patch1
Update translation.dart
2023-10-23 19:40:00 +03:00
smty2018
0c9170ae3c Update translation.dart 2023-10-23 19:11:04 +05:30
Yoshi
63bded87ea added ur_PK, cs_CZ 2023-10-22 09:34:08 +03:00
Yoshi
b1d7d1dfde
Merge pull request #127 from t0mzSK/main
Add Czech language
2023-10-22 08:49:19 +03:00
Yoshi
7dd2ce10bd
Merge branch 'main' into main 2023-10-22 08:49:09 +03:00
Yoshi
c945d406c0
Merge pull request #126 from Alisha-786/patch-1
Added Urdu translation
2023-10-22 08:41:07 +03:00
Tomas
0f8b8d6429
Add Czech language 2023-10-22 00:16:35 +02:00
Alisha Parveen
87bf49aac1
Update translation.dart 2023-10-22 01:20:00 +05:30
Yoshi
990ea77d6a
Merge pull request #125 from t0mzSK/main
Update translation.dart
2023-10-20 16:18:35 +03:00
Tomas
cb4e454342
Update translation.dart
minor update for Slovak languague
2023-10-20 14:20:47 +02:00
Yoshi
e3cc72d556
Merge pull request #123 from shatanikmahanty/feat/freezed
Feat/freezed
2023-10-16 12:21:02 +03:00
Yoshi
18260c11ee
Merge pull request #121 from shatanikmahanty/feat/refactor
Removed toJson calls in UI in favour of WeatherCard Data Class
2023-10-16 12:19:27 +03:00
Shatanik Mahanty
a5939c975a Freezed weather.dart model classes 2023-10-16 12:20:41 +05:30
Shatanik Mahanty
dd2faf0851 Merge branch 'feat/refactor' into feat/freezed 2023-10-16 11:23:26 +05:30
Shatanik Mahanty
4124fbb7bb Null check bug fixed 2023-10-16 11:17:13 +05:30
Shatanik Mahanty
36957460ce Refactored weather.dart to use freezed models 2023-10-16 11:10:53 +05:30
Shatanik Mahanty
3b4a704e65 Installed freezed 2023-10-16 10:55:32 +05:30
Shatanik Mahanty
7da49fa7a3 Removed toJson calls in UI in favour of WeatherCard Data Class 2023-10-16 10:16:48 +05:30
Yoshi
8a738583a0 fix SizeFCompat 2023-10-15 15:37:58 +03:00
Yoshi
0f90107d50 fix error 2023-10-15 12:38:03 +03:00
Yoshi
0468965ea8 fix update card 2023-10-15 12:29:05 +03:00
Yoshi
dd185ef7bd minor fix 2023-10-15 12:20:56 +03:00
Yoshi
53a47b3f90 added dewpoint_2m,precipitation_probability,shortwave_radiation 2023-10-15 12:04:16 +03:00
Yoshi
0306dbbc6c added widget text color picker 2023-10-12 20:48:23 +03:00
Yoshi
10374a6aa3 fix ui 2023-10-12 17:30:22 +03:00
Yoshi
321338a826 minor fix 2023-10-12 16:30:28 +03:00
Yoshi
232178f6d1
Merge pull request #120 from shatanikmahanty/feat/widget_bg_persistence
Feat/widget bg persistence
2023-10-12 12:02:48 +03:00
Yoshi
7af186dbd0
Merge pull request #119 from shatanikmahanty/feat/widget_bg
Added widget background color picker
2023-10-12 12:02:01 +03:00
Shatanik Mahanty
d90d63f361 Added indicator color for light mode 2023-10-12 12:17:51 +05:30
Shatanik Mahanty
7dbb7c9581 Added isar persistence logic 2023-10-12 12:11:20 +05:30
Shatanik Mahanty
d8a30f401d Added widget background color picker 2023-10-12 11:36:18 +05:30
Yoshi
613512ef86 minor improvements 2023-10-10 12:54:55 +03:00
Yoshi
e39177e9e7
Merge pull request #118 from shatanikmahanty/main
Added translation for license key
2023-10-10 12:19:26 +03:00
Shatanik Mahanty
a7064c56f8 Added translation for license key 2023-10-10 14:47:46 +05:30
Yoshi
06baac107a
Merge pull request #117 from shatanikmahanty/main
Added license settings card
2023-10-10 12:07:52 +03:00
Shatanik Mahanty
7e9be7421f Added license settings card 2023-10-10 14:33:26 +05:30
Yoshi
8a697af1de
Merge pull request #116 from shatanikmahanty/fix/inkwell-splash
Fix/inkwell splash
2023-10-10 11:59:41 +03:00
Yoshi
6d7e12d667
Merge pull request #114 from shatanikmahanty/build/bump-kotlin
Bump Kotlin to 1.9.10
2023-10-10 11:58:59 +03:00
Yoshi
d855bf9ecc
Merge pull request #113 from shatanikmahanty/refactor/dry
Improved code quality by making code dry weather widgets
2023-10-10 11:58:21 +03:00
Shatanik Mahanty
da68f09c69 improved inkwell splash ux 2023-10-10 14:07:25 +05:30
Shatanik Mahanty
bf56634b8c Bump Kotlin to 1.9.10
Fixed build errors
2023-10-10 13:40:44 +05:30
Shatanik Mahanty
f80c39cc97 Improved code quality by making code dry weather widgets 2023-10-10 13:39:24 +05:30
Yoshi
5247084f9d update dependencies 2023-10-09 13:48:31 +03:00
Yoshi
421961de2c
Merge pull request #111 from shatanikmahanty/refactor/dry
Improved code quality by making code dry in info_weather_card.dart, w…
2023-10-09 12:06:21 +03:00
Shatanik Mahanty
3dcb16d8a3 Improved code quality by making code dry in info_weather_card.dart, weather_hourly.dart 2023-10-09 14:18:34 +05:30
Yoshi
ba0b925076
Merge pull request #110 from shatanikmahanty/refactor/dry
Improved code quality by making code dry in weather.dart
2023-10-09 11:41:35 +03:00
Shatanik Mahanty
9a4223dc07
Merge branch 'main' into refactor/dry 2023-10-09 13:59:33 +05:30
Yoshi
7c1140d365 fix 2023-10-09 11:25:06 +03:00
Shatanik Mahanty
bc2f58da8a Improved code quality by making code dry in weather.dart 2023-10-09 13:53:23 +05:30
Yoshi
bb508bf314
Merge pull request #109 from shatanikmahanty/main
Fixed weather card overflow
2023-10-09 11:11:01 +03:00
Shatanik Mahanty
ac61a8b3e3 Fixed weather card overflow in info_weather_card.dart 2023-10-09 13:32:01 +05:30
Shatanik Mahanty
9871c97b0d Fixed weather card overflow 2023-10-09 13:28:44 +05:30
Yoshi
42f1b8d47e new release 2023-10-08 17:33:36 +03:00
Yoshi
7e148c8ee9 notification 2023-10-07 13:50:54 +03:00
Yoshi
31ee0b49f8 fix updateWidget 2023-10-06 20:20:43 +03:00
Yoshi
26532b4203 workmanager 2023-10-03 19:23:52 +03:00
Yoshi
c65f80f079 widget fix 2023-10-02 22:55:43 +03:00
Yoshi
23cd9b9c12 fix 2023-10-02 20:31:39 +03:00
Yoshi
8544a25301 widget fix 2023-10-02 15:46:03 +03:00
Yoshi
d60c01ecf2 widget 2023-10-01 22:38:43 +03:00
Yoshi
7400910f9f fix ui 2023-09-29 15:45:50 +03:00
Yoshi
02546658af system theme 2023-09-28 22:23:36 +03:00
Yoshi
7d9d0556b9 fix url 2023-09-26 22:04:19 +03:00
Yoshi
701b3ba5aa support 2023-09-26 21:53:03 +03:00
Yoshi
1be7975c86 donations 2023-09-24 20:22:36 +03:00
Yoshi
e0296930c7 fix 2023-09-24 18:52:15 +03:00
Yoshi
866e135479 fix 2023-09-22 19:10:11 +03:00
Yoshi
641d615215 beta release 2023-09-22 15:11:03 +03:00
Yoshi
e3dea68db8 fix ui 2023-09-21 09:14:34 +03:00
Yoshi
328830d77d loading 2023-09-19 15:26:59 +03:00
Yoshi
2cee1e7523 fix connection 2023-09-18 20:12:37 +03:00
Yoshi
86b3e222e0 fix 2023-09-18 18:33:43 +03:00
Yoshi
cc9263daff fix errors 2023-09-18 16:26:08 +03:00
Yoshi
88767964a9 controller cache 2023-09-15 15:29:45 +03:00
Yoshi
45792d2cbc android 2023-09-14 22:35:05 +03:00
Yoshi
4bd5831d8a controller 2023-09-09 21:15:47 +03:00
Yoshi
fd4448cb56 ui 2023-09-08 20:35:56 +03:00
Yoshi
0209abc8bc fix notification && controller 2023-09-08 18:55:26 +03:00
Yoshi
fc4c81505c notlification 2023-09-07 16:49:26 +03:00
Yoshi
64daf907d5 controller 2023-09-05 21:31:29 +03:00
Yoshi
9da8b96169 fix 2023-09-03 13:30:33 +03:00
Yoshi
1b8675a076 code 2023-09-03 13:13:44 +03:00
Yoshi
835733bd9a folder 2023-09-03 09:08:43 +03:00
Yoshi
ab51ba6cfc fix 2023-09-01 20:18:40 +03:00
Yoshi
9a2b48ed2d api 2023-08-30 19:48:25 +03:00
Yoshi
dca770e9e3 readme 2023-08-21 19:15:00 +03:00
Yoshi
1a39ee223f locale pl 2023-08-07 21:46:54 +03:00
Yoshi
f72f94a733
Merge pull request #95 from senisditron/main
add Polish language
2023-08-07 18:05:33 +03:00
Kuba
74720e14ff
add Polish language 2023-08-07 16:34:20 +02:00
Yoshi
d2e47e63a4 connection 2023-08-04 21:19:30 +03:00
Yoshi
1f03ca6b42 textform 2023-08-03 21:11:58 +03:00
Yoshi
2f8e0ae17c fix 2023-08-03 20:52:20 +03:00
Yoshi
31b37d741d release 2023-07-27 17:29:02 +03:00
Yoshi
af50bdcf5e timepicker fix 2023-07-26 22:34:22 +03:00
Yoshi
7ec2c2d938 notifications 2023-07-26 22:20:30 +03:00
Yoshi
e01ba91e93 fix 2023-07-25 21:21:21 +03:00
Yoshi
3afee08ae3 issue #43 2023-07-25 17:11:22 +03:00
Yoshi
040a59e2cd
Merge pull request #90 from JiagengDing/main
add simple Chinese translation
2023-07-25 08:01:46 +03:00
jiagengding
5a91c64f0c
add simple Chinese translation 2023-07-24 23:13:26 +01:00
Yoshi
09a1b2cadd fix errors 2023-07-24 22:58:25 +03:00
Yoshi
068eb59675
Merge pull request #89 from SebiTalent04/main
Added Romanian translation
2023-07-24 22:08:46 +03:00
Sebi
0ef4ae1f71 Added Romanian translation 2023-07-24 20:31:39 +03:00
Yoshi
c4ec32fa4f fix api 2023-07-20 22:30:01 +03:00
Yoshi
fc6a861b65 fix api 2023-07-20 10:35:31 +03:00
Yoshi
e2ca0cb30b dynamic theme 2023-07-19 18:59:53 +03:00
Yoshi
bf746296b2 issue #82 2023-07-18 21:57:37 +03:00
Yoshi
2b5603da73 translate 2023-07-17 21:05:37 +03:00
Yoshi
1944bb8f1c fix 2023-07-17 20:53:23 +03:00
Yoshi
8a47668bad renamed widgets 2023-07-15 21:51:32 +03:00
Yoshi
2e106038bf fix theme 2023-07-15 20:23:36 +03:00
Yoshi
c499097ad7 add theme 2023-07-14 20:19:43 +03:00
Yoshi
d3215922e9 delete theme 2023-07-12 20:52:25 +03:00
Yoshi
562849bc9e theme 2023-07-10 21:33:43 +03:00
Yoshi
c9f848254f ios icon 2023-07-10 18:18:53 +03:00
Yoshi
0ea848d8a4 fix notlification, time range 2023-07-09 23:41:51 +03:00
Yoshi
24646c40e1
Merge pull request #81 from prepnew/default-language-bug-fixed-and-support-for-iOS
iOS support added
2023-07-09 23:20:46 +03:00
sanjeevmoga29
5f3c598bc0 iOS support added 2023-07-09 12:56:16 +05:30
Yoshi
55dfc08d2a fix notlification 2023-07-08 21:21:57 +03:00
Yoshi
df89d6cdaf notlification 2023-07-08 15:19:13 +03:00
Yoshi
5ba58cae05 fix ui 2023-07-07 22:00:39 +03:00
Yoshi
2f86c628bb icon 2023-07-06 23:24:54 +03:00
Yoshi
0d668f10ef issue #54 2023-07-04 21:22:29 +03:00
Yoshi
6ae90943b7 locale 2023-07-02 21:53:03 +03:00
Yoshi
e3a595da48 release 1.1.11 2023-06-30 21:33:58 +03:00
Yoshi
ba2cfccf3d issue #44 2023-06-29 21:25:00 +03:00
Yoshi
03cc68d611 issue #75 2023-06-28 23:10:43 +03:00
Yoshi
09a29230f7 icons, settings 2023-06-27 22:41:25 +03:00
Yoshi
d976ea35ea
Merge pull request #79 from prepnew/indian-national-lang-support
Support for Indian National Language Hindi added
2023-06-27 00:38:19 +03:00
sanjeevmoga29
4282a37718 Support for Indian National Language Hindi added 2023-06-26 16:43:06 +05:30
Yoshi
503ef37a5b returning the code 2023-06-17 20:57:57 +03:00
Yoshi
091569dd83 temporarily removing the code 2023-06-13 14:51:36 +03:00
Yoshi
a728d92c91 dependencies 2023-06-13 14:45:47 +03:00
Yoshi
b05b42e7ae issue #70 2023-06-05 22:13:08 +03:00
Yoshi
746a7eda97 settings 2023-05-17 23:57:11 +03:00
Yoshi
e14573c0d2 fix package name 2023-05-17 22:25:36 +03:00
Yoshi
f1d2a6e36c fix 2023-05-11 19:01:02 +03:00
Yoshi
739ae18b75 update dart 2023-05-11 15:16:25 +03:00
Yoshi
bb6f7de586 fix 2023-05-07 13:30:26 +03:00
Yoshi
c54398d6b0 issue #59, #56, #55 2023-05-07 13:03:24 +03:00
Yoshi
4a67ddf35a issue #49 2023-05-03 23:17:48 +03:00
Yoshi
e2d0cc61dd issue #57 && notification 2023-04-29 18:15:14 +03:00
Yoshi
d1d7b2cb70 added dependencies 2023-04-28 20:36:30 +03:00
Yoshi
8ec29eeb1d fix ui card daily 2023-04-26 00:39:40 +03:00
Yoshi
cd56e31589 ui card daily 2023-04-25 15:14:24 +03:00
Yoshi
d707b0d71a more daily weather 2023-04-25 13:58:21 +03:00
Yoshi
e1011080aa fix 2023-04-24 23:45:19 +03:00
Yoshi
ef108e5403 issues #46, #39 2023-04-24 21:29:51 +03:00
Yoshi
6be493a07c added nl_NL 2023-04-24 09:13:06 +03:00
Yoshi
b393b53d29
Merge pull request #45 from fabiandrinksmilk/dutchTranslation
Added Dutch translation
2023-04-24 00:14:16 +03:00
Fabian
6d070a1d7e Added Dutch translation 2023-04-23 23:03:19 +02:00
Yoshi
53f14a3ecd added windgusts 2023-04-23 22:05:16 +03:00
Yoshi
8e971bc861 added cute icon 2023-04-23 19:42:00 +03:00
Yoshi
02a311eeca added sk_SK, dynamic_icon 2023-04-23 18:04:59 +03:00
Yoshi
c20706206f
Merge pull request #41 from t0mzSK/main
Add Slovak translation
2023-04-23 16:24:42 +03:00
Tomas
84635c87ab
Add Slovak translation
Hello, I really like this app, I have to say that this is probably the best looking and functioning weather app when we talk about FOSS weather apps. You did really nice job! I would be excited if I would have a weather radar included in this app. Good luck for future development!
2023-04-23 15:21:00 +02:00
Yoshi
c7cb91a623 added weather 16-days 2023-04-18 23:52:02 +03:00
Yoshi
c0e865e66e added uv-index, cloudcover, dynamic_color 2023-04-16 23:24:01 +03:00
Yoshi
16261dd7db added es_ES 2023-04-16 15:05:15 +03:00
Yoshi
7a0e1c1016
Merge pull request #29 from myanesp/main
Add Spanish translation
2023-04-16 14:59:44 +03:00
myanesp
5f822be769 Add Spanish language to README 2023-04-16 12:53:52 +02:00
myanesp
c9556cbc4e Add Spanish translation 2023-04-16 12:52:48 +02:00
Yoshi
ebbda5b0a3 fix name icon, db, api 2023-04-14 22:16:22 +03:00
Yoshi
dc14b53fd4 update dependencies 2023-04-13 23:17:47 +03:00
Yoshi
1f6a28da4f
Merge pull request #28 from Giasko0/main
Updated Italian Translation
2023-04-13 14:47:02 +03:00
Giasko
3ff6e00172
Updated Italian Translation 2023-04-13 13:21:11 +02:00
Yoshi
2375a1b276 issues #26 2023-04-10 16:04:49 +03:00
Yoshi
a2484be22a readme 2023-04-08 14:18:46 +03:00
Yoshi
14cc02dac4 issues #23 2023-04-08 10:11:50 +03:00
Yoshi
08f28ae431
Merge pull request #25 from Besedeb/patch-1
Making the german translation more fitting
2023-04-07 15:23:06 +03:00
Besedeb
a229ade619
Making the german translation more fitting
While great, the german translation feels a bit choppy at times when using the App. The proposed changes should streamline the experience.
2023-04-07 11:14:55 +00:00
Yoshi
1664fdfda9 added pt_BR 2023-04-07 11:26:01 +03:00
Yoshi
f417ae6259
Merge pull request #24 from Caua77/lang
Portuguese translation
2023-04-07 07:39:26 +03:00
Cauã
d0ebf8b45d Add portuguese language 2023-04-06 22:56:04 -03:00
Yoshi
c1ca3610a1 fix icons 2023-04-05 19:54:55 +03:00
Yoshi
770216dd45 fix 2023-04-05 14:23:06 +03:00
Yoshi
4d5936e49c issues #19, #20, #21 2023-04-04 23:02:40 +03:00
Yoshi
2d617e9cf4 fix 2023-04-03 15:40:21 +03:00
Yoshi
5310227e93 issues #18 2023-04-03 15:18:24 +03:00
Yoshi
e2b69d58d3 issues #11 2023-04-01 17:02:13 +03:00
Yoshi
07e4d22540
Merge pull request #17 from Poussinou/patch-1
Update README.md
2023-04-01 10:14:23 +03:00
Poussinou
f914bd4a6e
Update README.md 2023-04-01 15:04:53 +09:30
Yoshi
3cf88d6200 fix bugs 2023-03-30 19:18:39 +03:00
Yoshi
af89ab4564 fix 2023-03-30 13:09:10 +03:00
Yoshi
f9e6ffdade add tr_TR 2023-03-30 11:25:06 +03:00
Yoshi
25e0445228
Merge pull request #14 from Fabeuss/patch-1
French translation
2023-03-30 09:40:32 +03:00
Fabeuss
32492cdd59
French translation
French translation added
2023-03-30 08:36:44 +02:00
Yoshi
92e70aafd6 fix code 2023-03-29 13:14:05 +03:00
Yoshi
5880aa756c issues #7 2023-03-29 00:46:05 +03:00
Yoshi
e83abc77af translation 2023-03-28 12:51:29 +03:00
Yoshi
8f187a6817
Merge pull request #10 from DrSkyfaR/patch-1
add german translation
2023-03-28 10:40:21 +03:00
Christopher Bodtke
a954c21709
add german translation 2023-03-27 20:12:53 +02:00
Yoshi
bb3c95d8b0 fix code 2023-03-27 16:47:45 +03:00
294 changed files with 35518 additions and 10960 deletions

38
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View file

@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

View file

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

3
.gitignore vendored
View file

@ -15,6 +15,7 @@ migrate_working_dir/
*.ipr
*.iws
.idea/
.cxx/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
@ -42,5 +43,3 @@ app.*.map.json
/android/app/debug
/android/app/profile
/android/app/release
/lib/api_key.dart

View file

@ -1,11 +1,11 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled.
# This file should be version controlled and should not be manually edited.
version:
revision: 135454af32477f815a7525073027a3ff9eff1bfd
channel: stable
revision: "2663184aa79047d0a33a14a3b607954f8fdd8730"
channel: "stable"
project_type: app
@ -13,26 +13,26 @@ project_type: app
migration:
platforms:
- platform: root
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: android
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: ios
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: linux
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: macos
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: web
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
- platform: windows
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
create_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
base_revision: 2663184aa79047d0a33a14a3b607954f8fdd8730
# User provided section

43
CODE_OF_CONDUCT.md Normal file
View file

@ -0,0 +1,43 @@
# Code of Conduct
## Our Commitment
In the interest of fostering an open and friendly community, we, as contributors and maintainers, pledge to make participation in our project and our community a harassment-free experience for everyone.
## Standards of Behavior
1. **Respect**: Be respectful and considerate of different viewpoints and experiences.
2. **Collaboration**: Collaborate with community members, uphold principles of openness, and assist each other.
3. **Friendliness**: Remember that diversity of opinions and experiences is valuable for our community. Be friendly and supportive.
4. **Responsibility**: Be mindful of your words and actions. If you make a commitment, strive to fulfill it.
## Unacceptable Behavior
Unacceptable behavior includes but is not limited to:
1. **Discrimination**: No forms of discrimination or harassment based on race, gender, sexual orientation, nationality, religion, or other characteristics.
2. **Insults and Threats**: No offensive comments, threats, or bullying.
3. **Hostile Conduct**: No actions intended to create a hostile atmosphere in the community.
## Reporting Procedure
If you believe you're experiencing a violation of the code of conduct, please report it by sending an email to darkmoonight2022@gmail.com.
## Conclusion
We encourage all participants to adhere to this code of conduct. Violation of these principles may result in temporary or permanent exclusion from the community.
Thank you for your contribution and cooperation in creating an open and friendly community!
## Changes
This code of conduct may be revised from time to time. The most current version will always be available in this file.
## Attribution
This code of conduct is adapted from [Contributor Covenant](https://www.contributor-covenant.org/).

37
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,37 @@
# Contribution Guidelines
Thank you for considering contributing to our project! We welcome your input and appreciate your efforts. To ensure a smooth collaboration, please take a moment to review the following guidelines.
## Code of Conduct
This project and everyone participating in it are governed by our [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [project email].
## How to Contribute
1. Fork the repository and clone it locally.
2. Create a new branch for your feature or bug fix.
3. Make your changes and commit them.
4. Push your changes to your fork on GitHub.
5. Open a pull request in the original repository. Provide a clear title and description of your changes.
## Coding Standards
Follow the coding standards and style guide used in the project. If there's no specific guide, stick to the existing code style.
## Testing
Ensure that your code changes do not break existing functionality. Write tests for new features or bug fixes if applicable.
## Documentation
Update the documentation if your changes affect it. This includes the README.md file and any additional documentation files.
## Issues
Before starting work on a new feature or bug fix, check the issue tracker for related discussions or known issues.
## License
By contributing, you agree that your contributions will be licensed under the project's license.
Thank you for your contribution!

View file

@ -1,52 +1,66 @@
<div align="center">
<img src="/assets/icons/icon.png" width="150"/>
<h2>Rain</h2>
<div align='center'>
<img src='/readme/icon.png' width='150'/>
<h2>🌦️ Rain</h2>
</div>
### Short Description:
<p align='center'>
<p align='center'>
<a href='https://github.com/darkmoonight/Rain/stargazers'><img alt='Stars' src='https://img.shields.io/github/stars/darkmoonight/Rain?color=abc0d3'/></a>
<a href='https://github.com/darkmoonight/Rain/forks'><img alt='Forks' src='https://img.shields.io/github/forks/darkmoonight/Rain?color=abc0d3'/></a>
<a href='https://github.com/darkmoonight/Rain/releases'><img alt='GitHub release' src='https://img.shields.io/github/v/release/darkmoonight/Rain?color=abc0d3'/></a>
<a href='https://github.com/darkmoonight/Rain/blob/main/LICENSE'><img alt='License' src='https://img.shields.io/github/license/darkmoonight/Rain?color=abc0d3'/></a>
</p>
</p>
<!-- Приложение для просмотра погоды в вашем городе -->
<p align='center'> Tired of unpredictable weather? Rain's got you covered! Get ready for any forecast. 🌦️ </p>
An application for viewing the weather in your city
### 🌍 Be aware of the weather
### Description:
With Rain, you can explore the weather in your city and beyond. We offer an array of features to keep you informed and prepared:
<!-- Данное приложение позволяет смотреть погоду в вашем городе.
Предоставлены следующие возможности:
- Просмотр погоды на данный момент
- Просмотр погоды по часам
- Просмотр погоды на неделю
- Просмотр подробных данных о погоде
- Локализация (ru/en)
- Кэширование данных
- Выбор города самостоятельно
- Добавление карточек других городов
Также мы постарались сделать дизайн максимально удобным и красивым. -->
- 🌟 **View Current Weather:** Stay up-to-date with real-time weather conditions in your area.
- 🌅 **View Weather by Hour:** Plan your day effectively with hourly forecasts.
- 📆 **View the Weather for the Week:** Get a week-long weather outlook at your fingertips.
- 🌡️ **View Detailed Weather Data:** Dive deep into weather statistics for a comprehensive understanding.
- 🌐 **Localization:** Choose your preferred language from a wide range of options.
- 🏙️ **Data Caching:** Access weather information even when you're offline.
- 🌆 **Choose Your City:** Set your location or add other cities to your list.
- 🧮 **Metric or Imperial:** Customize your measurement system for temperature and more.
- 🌡️ **Celsius or Fahrenheit:** Pick your preferred temperature unit.
- 🕰️ **12-Hour or 24-Hour Time Formats:** Adjust the time display to your liking.
- 🔔 **Notifications:** Receive weather alerts and stay informed.
- 🧩 **Widget:** Add a weather widget to your home screen for quick updates.
- 🎨 **Beautiful Design**
This application allows you to view the weather in your city.
The following options are provided:
Our application not only offers functionality but also boasts an aesthetically pleasing design. We have meticulously crafted Rain with your user experience as our top priority, guaranteeing both convenience and elegance in a single package.
- View current weather
- View weather by hour
- View the weather for the week
- View detailed weather data
- Localization (ru/en)
- Data caching
- Choose the city yourself
- Adding cards of other cities
### 🌐 Reliable Data Sources
We also tried to make the design as convenient and beautiful as possible.
We fetch weather data from [Open-Meteo](https://open-meteo.com/en/docs) and use [Open-Meteo's Geocoding API](https://open-meteo.com/en/docs/geocoding-api) to help you find cities easily.
### Services used:
### 📸 Screenshots
- The app receives weather data from [Open-Meteo](https://open-meteo.com/)
- Cities are searched using [Geoapify](https://www.geoapify.com/)
<img src='/readme/1.png' width='200'/> <img src='/readme/2.png' width='200'/> <img src='/readme/3.png' width='200'/> <img src='/readme/4.png' width='200'/> <img src='/readme/5.png' width='200'/> <img src='/readme/6.png' width='200'/> <img src='/readme/7.png' width='200'/> <img src='/readme/8.png' width='200'/>
### Screenshots:
### 💰 Support Us
<img src="/readme/1.jpg" width="200"/> <img src="/readme/2.jpg" width="200"/> <img src="/readme/3.jpg" width="200"/>
If you find Rain valuable and worthy for future innovation, consider supporting us through donations:
### Download:
[![DonationAlerts](https://img.shields.io/badge/DonationAlerts-orange?style=for-the-badge)](https://www.donationalerts.com/r/darkmoonight)
[![ЮMoney](https://img.shields.io/badge/ЮMoney-violet?style=for-the-badge)](https://yoomoney.ru/to/4100117672775961)
### 📥 Get Rain Now
[![Play Store](https://img.shields.io/badge/Google_Play-414141?style=for-the-badge&logo=google-play&logoColor=white)](https://play.google.com/store/apps/details?id=com.yoshi.rain)
[![RuStore](https://img.shields.io/badge/RuStore-blue?style=for-the-badge&logo=vk&logoColor=white)](https://apps.rustore.ru/app/com.yoshi.rain)
Or get the latest APK from the [Releases Section](https://github.com/DarkMooNight/Rain/releases/latest). You can also find the app on IzzyOnDroid via a F-Droid client [here](https://apt.izzysoft.de/fdroid/index/apk/com.yoshi.rain).
### 📃 License
This project is licensed under the [MIT License](./LICENSE).
### 👨‍💻 Our Contributors
<a href='https://github.com/darkmoonight/Rain/graphs/contributors'>
<img src='https://contrib.rocks/image?repo=darkmoonight/Rain'/>
</a>

View file

@ -1,30 +1,9 @@
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
@ -32,49 +11,76 @@ if (keystorePropertiesFile.exists()) {
}
android {
compileSdkVersion flutter.compileSdkVersion
ndkVersion flutter.ndkVersion
namespace = 'com.yoshi.rain'
compileSdk = 35
ndkVersion = '29.0.13113456'
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
coreLibraryDesugaringEnabled = true
}
kotlinOptions {
jvmTarget = '1.8'
jvmTarget = JavaVersion.VERSION_17
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
dependenciesInfo {
// Disables dependency metadata when building APKs.
includeInApk = false
// Disables dependency metadata when building Android App Bundles.
includeInBundle = false
}
defaultConfig {
applicationId "com.yoshi.rain"
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
applicationId = 'com.yoshi.rain'
minSdk = 23
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.release
}
}
release {
keyAlias = keystoreProperties['keyAlias']
keyPassword = keystoreProperties['keyPassword']
storeFile = keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword = keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig = signingConfigs.release
}
debug {
signingConfig = signingConfigs.debug
minifyEnabled = true
}
}
buildFeatures {
viewBinding = true
}
}
flutter {
source '../..'
source = "../.."
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation("androidx.core:core-remoteviews:1.1.0")
implementation("com.google.android.material:material:1.12.0")
implementation('androidx.work:work-runtime-ktx:2.10.0')
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")
}
// Remove this for FLOSS version
// configurations.all {
// exclude group: 'com.google.android.gms'
// }

View file

@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rain">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.

View file

@ -1,14 +1,16 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rain">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<application
<application
android:label="Rain"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/ic_launcher"
android:extractNativeLibs="true">
<activity
android:name=".MainActivity"
android:exported="true"
@ -16,19 +18,54 @@
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:screenOrientation="portrait"
android:enableOnBackInvokedCallback="true"
android:windowSoftInputMode="adjustResize">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="es.antonborri.home_widget.action.LAUNCH" />
</intent-filter>
</activity>
<receiver
android:name=".OreoWidget"
android:exported="true">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
</intent-filter>
<meta-data
android:name="android.appwidget.provider"
android:resource="@xml/oreo_widget_info" />
</receiver>
<receiver android:name="es.antonborri.home_widget.HomeWidgetBackgroundReceiver"
android:exported="true">
<intent-filter>
<action android:name="es.antonborri.home_widget.action.BACKGROUND" />
</intent-filter>
</receiver>
<service android:name="es.antonborri.home_widget.HomeWidgetBackgroundService"
android:permission="android.permission.BIND_JOB_SERVICE"
android:exported="true" />
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<receiver android:exported="false"
android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
<receiver android:exported="false"
android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON" />
</intent-filter>
</receiver>
</application>
</manifest>

View file

@ -0,0 +1,65 @@
package com.yoshi.rain
import android.appwidget.AppWidgetManager
import android.content.Context
import android.content.SharedPreferences
import android.graphics.BitmapFactory
import android.graphics.Color
import android.widget.RemoteViews
import androidx.core.util.SizeFCompat
import androidx.core.widget.updateAppWidget
import es.antonborri.home_widget.HomeWidgetLaunchIntent
import es.antonborri.home_widget.HomeWidgetProvider
/**
* Implementation of App Widget functionality.
*/
class OreoWidget : HomeWidgetProvider() {
override fun onUpdate(
context: Context,
appWidgetManager: AppWidgetManager,
appWidgetIds: IntArray,
widgetData: SharedPreferences
) {
for (appWidgetId in appWidgetIds) {
val supportedSizes = listOf(
SizeFCompat(50.0f, 0.0f),
SizeFCompat(100.0f, 0.0f),
SizeFCompat(250.0f, 0.0f),
SizeFCompat(300.0f, 0.0f),
)
appWidgetManager.updateAppWidget(appWidgetId, supportedSizes) {
val layoutId = when (it) {
supportedSizes[0] -> R.layout.oreo_widget_mini
supportedSizes[1] -> R.layout.oreo_widget_small
supportedSizes[2] -> R.layout.oreo_widget_medium
else -> R.layout.oreo_widget_big
}
RemoteViews(context.packageName, layoutId).apply {
val pendingIntent = HomeWidgetLaunchIntent.getActivity(
context,
MainActivity::class.java
)
setOnClickPendingIntent(R.id.widget_day_oreo, pendingIntent)
val image = widgetData.getString("weather_icon", null)
setImageViewBitmap(R.id.widget_day_icon, BitmapFactory.decodeFile(image))
val degree = widgetData.getString("weather_degree", null)
setTextViewText(R.id.widget_day_title, degree)
val backgroundColor = widgetData.getString("background_color", null)
if (backgroundColor != null) {
setInt(R.id.widget_day_oreo, "setBackgroundColor", Color.parseColor(backgroundColor))
}
val textColor = widgetData.getString("text_color", null)
if (textColor != null) {
setTextColor(R.id.widget_day_title,Color.parseColor(textColor))
setTextColor(R.id.widget_day_time,Color.parseColor(textColor))
}
}
}
}
}
}

View file

@ -1,4 +1,4 @@
package com.example.rain
package com.yoshi.rain
import io.flutter.embedding.android.FlutterActivity

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?><!--
Background for widgets to make the rounded corners based on the
appWidgetRadius attribute value
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="?attr/appWidgetRadius" />
<solid android:color="?android:attr/colorBackground" />
</shape>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?><!--
Background for views inside widgets to make the rounded corners based on the
appWidgetInnerRadius attribute value
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="?attr/appWidgetInnerRadius" />
<solid android:color="?android:attr/colorAccent" />
</shape>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

After

Width:  |  Height:  |  Size: 69 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

View file

@ -0,0 +1,55 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Android.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSecondaryContainer"
android:theme="@style/Theme.Android.AppWidgetContainer"
android:id="@+id/widget_day_oreo">
<LinearLayout
android:id="@+id/widget_day_weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal"
android:gravity="center_vertical">
<TextClock
android:id="@+id/widget_day_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:fontFamily="@font/ubuntu"
android:format12Hour="@string/date_format_widget_oreo_big_style"
android:format24Hour="@string/date_format_widget_oreo_big_style"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textSize="@dimen/widget_large_title_text_size"
tools:ignore="ObsoleteLayoutParam"
tools:text="Saturday, September 30 " />
<ImageView
android:id="@+id/widget_day_icon"
android:layout_width="@dimen/widget_mini_weather_icon_size"
android:layout_height="@dimen/widget_mini_weather_icon_size"
android:src="@drawable/cloud"
tools:ignore="ContentDescription,ImageContrastCheck" />
<TextView
android:id="@+id/widget_day_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/little_margin"
android:fontFamily="@font/ubuntu"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textSize="@dimen/widget_large_title_text_size"
tools:text="28°" />
</LinearLayout>
</RelativeLayout>

View file

@ -0,0 +1,55 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Android.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSecondaryContainer"
android:theme="@style/Theme.Android.AppWidgetContainer"
android:id="@+id/widget_day_oreo">
<LinearLayout
android:id="@+id/widget_day_weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal"
android:gravity="center_vertical">
<TextClock
android:id="@+id/widget_day_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:fontFamily="@font/ubuntu"
android:format12Hour="@string/date_format_widget_oreo_style"
android:format24Hour="@string/date_format_widget_oreo_style"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textSize="@dimen/widget_large_title_text_size"
tools:ignore="ObsoleteLayoutParam"
tools:text="Saturday, September 30 " />
<ImageView
android:id="@+id/widget_day_icon"
android:layout_width="@dimen/widget_mini_weather_icon_size"
android:layout_height="@dimen/widget_mini_weather_icon_size"
android:src="@drawable/cloud"
tools:ignore="ContentDescription,ImageContrastCheck" />
<TextView
android:id="@+id/widget_day_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/little_margin"
android:fontFamily="@font/ubuntu"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textSize="@dimen/widget_large_title_text_size"
tools:text="28°" />
</LinearLayout>
</RelativeLayout>

View file

@ -0,0 +1,41 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Android.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSecondaryContainer"
android:theme="@style/Theme.Android.AppWidgetContainer"
android:id="@+id/widget_day_oreo">
<LinearLayout
android:id="@+id/widget_day_weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center_horizontal"
android:orientation="vertical"
tools:ignore="UseCompoundDrawables">
<ImageView
android:id="@+id/widget_day_icon"
android:layout_width="@dimen/widget_little_weather_icon_size"
android:layout_height="@dimen/widget_little_weather_icon_size"
android:src="@drawable/cloud"
tools:ignore="ContentDescription,ImageContrastCheck" />
<TextView
android:id="@+id/widget_day_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="@font/ubuntu"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textSize="@dimen/widget_title_text_size"
tools:ignore="ObsoleteLayoutParam"
tools:text="21°" />
</LinearLayout>
</RelativeLayout>

View file

@ -0,0 +1,42 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/Widget.Android.AppWidget.Container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSecondaryContainer"
android:theme="@style/Theme.Android.AppWidgetContainer"
android:id="@+id/widget_day_oreo">
<LinearLayout
android:id="@+id/widget_day_weather"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:orientation="horizontal"
android:gravity="center_vertical"
tools:ignore="UseCompoundDrawables">
<ImageView
android:id="@+id/widget_day_icon"
android:layout_width="@dimen/widget_little_weather_icon_size"
android:layout_height="@dimen/widget_little_weather_icon_size"
android:src="@drawable/cloud"
tools:ignore="ContentDescription,ImageContrastCheck" />
<TextView
android:id="@+id/widget_day_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/little_margin"
android:fontFamily="@font/ubuntu"
android:maxLines="1"
android:shadowDx="1"
android:shadowDy="1"
android:shadowRadius="1"
android:textAppearance="@android:style/TextAppearance.Material.Large"
android:textSize="@dimen/widget_design_title_text_size"
tools:text="28°" />
</LinearLayout>
</RelativeLayout>

View file

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
<background android:drawable="@mipmap/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 854 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View file

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@style/Theme.Material3.DynamicColors.Dark.NoActionBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#181818</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@style/Theme.Material3.DynamicColors.Dark.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>

View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Having themes.xml for night-v31 because of the priority order of the resource qualifiers.
-->
<style name="Theme.Android.AppWidgetContainerParent" parent="@style/Theme.Material3.DynamicColors.DayNight">
<item name="appWidgetRadius">@android:dimen/system_app_widget_background_radius</item>
<item name="appWidgetInnerRadius">@android:dimen/system_app_widget_inner_radius</item>
</style>
</resources>

View file

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<style name="LaunchTheme" parent="@style/Theme.Material3.DynamicColors.Dark.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds" >false</item>
<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="o_mr1">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
@ -12,7 +16,7 @@
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<style name="NormalTheme" parent="@style/Theme.Material3.DynamicColors.Dark.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>

View file

@ -0,0 +1,13 @@
<resources>
<style name="Widget.Android.AppWidget.Container" parent="android:Widget">
<item name="android:id">@android:id/background</item>
<item name="android:padding">?attr/appWidgetPadding</item>
<item name="android:background">@drawable/app_widget_background</item>
</style>
<style name="Widget.Android.AppWidget.InnerView" parent="android:Widget">
<item name="android:padding">?attr/appWidgetPadding</item>
<item name="android:background">@drawable/app_widget_inner_view_background</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
</style>
</resources>

View file

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@style/Theme.Material3.DynamicColors.DayNight.NoActionBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowSplashScreenBackground">#181818</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@style/Theme.Material3.DynamicColors.DayNight.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
<style name="Widget.Android.AppWidget.Container" parent="android:Widget">
<item name="android:id">@android:id/background</item>
<item name="android:padding">?attr/appWidgetPadding</item>
<item name="android:background">@drawable/app_widget_background</item>
<item name="android:clipToOutline">true</item>
</style>
<style name="Widget.Android.AppWidget.InnerView" parent="android:Widget">
<item name="android:padding">?attr/appWidgetPadding</item>
<item name="android:background">@drawable/app_widget_inner_view_background</item>
<item name="android:textColor">?android:attr/textColorPrimary</item>
<item name="android:clipToOutline">true</item>
</style>
</resources>

View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--
Having themes.xml for v31 variant because @android:dimen/system_app_widget_background_radius
and @android:dimen/system_app_widget_internal_padding requires API level 31
-->
<style name="Theme.Android.AppWidgetContainerParent"
parent="@style/Theme.Material3.DynamicColors.DayNight">
<item name="appWidgetRadius">@android:dimen/system_app_widget_background_radius</item>
<item name="appWidgetInnerRadius">@android:dimen/system_app_widget_inner_radius</item>
</style>
</resources>

View file

@ -0,0 +1,7 @@
<resources>
<declare-styleable name="AppWidgetAttrs">
<attr name="appWidgetPadding" format="dimension" />
<attr name="appWidgetInnerRadius" format="dimension" />
<attr name="appWidgetRadius" format="dimension" />
</declare-styleable>
</resources>

View file

@ -0,0 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- margin. -->
<dimen name="large_margin">20dp</dimen>
<dimen name="normal_margin">16dp</dimen>
<dimen name="little_margin">8dp</dimen>
<!-- elevator. -->
<dimen name="touch_rise_z">10dp</dimen>
<!-- image. -->
<dimen name="current_weather_icon_container_size">128dp</dimen>
<dimen name="current_weather_icon_size">80dp</dimen>
<dimen name="standard_weather_icon_container_size">88dp</dimen>
<dimen name="little_weather_icon_container_size">74dp</dimen>
<dimen name="standard_weather_icon_size">56dp</dimen>
<dimen name="little_weather_icon_size">42dp</dimen>
<dimen name="material_icon_size">24dp</dimen>
<!-- view. -->
<dimen name="material3_card_list_item_corner_radius">16dp</dimen>
<dimen name="material3_card_list_item_inner_radius">12dp</dimen>
<dimen name="material3_widget_corner_radius">16dp</dimen>
<dimen name="material3_widget_inner_radius">12dp</dimen>
<dimen name="spinner_drop_width">150dp</dimen>
<dimen name="share_view_height">260dp</dimen>
<dimen name="progress_view_size">36dp</dimen>
<dimen name="trend_item_width">56dp</dimen>
<dimen name="daily_trend_item_height">298dp</dimen>
<dimen name="hourly_trend_item_height">256dp</dimen>
<dimen name="action_bar_height">64dp</dimen>
<!-- text. -->
<dimen name="main_title_text_size">96sp</dimen>
<dimen name="design_title_text_size">48sp</dimen>
<dimen name="large_title_text_size">22sp</dimen>
<dimen name="title_text_size">18sp</dimen>
<dimen name="content_text_size">14sp</dimen>
<dimen name="subtitle_text_size">12sp</dimen>
<!-- widget. -->
<dimen name="widget_grid_1">40dp</dimen>
<dimen name="widget_grid_2">110dp</dimen>
<dimen name="widget_grid_3">180dp</dimen>
<dimen name="widget_grid_4">250dp</dimen>
<dimen name="widget_current_weather_icon_size">@dimen/standard_weather_icon_size</dimen> <!--
56dp. -->
<dimen name="widget_standard_weather_icon_size">48dp</dimen>
<dimen name="widget_little_weather_icon_size">36dp</dimen>
<dimen name="widget_mini_weather_icon_size">28dp</dimen>
<dimen name="widget_design_title_text_size">24sp</dimen>
<dimen name="widget_large_title_text_size">@dimen/large_title_text_size</dimen> <!-- 20sp. -->
<dimen name="widget_title_text_size">@dimen/title_text_size</dimen> <!-- 16sp. -->
<dimen name="widget_subtitle_text_size">@dimen/subtitle_text_size</dimen> <!-- 12sp. -->
<dimen name="widget_content_text_size">@dimen/content_text_size</dimen> <!-- 14sp. -->
<dimen name="widget_time_text_size">10sp</dimen>
<dimen name="widget_aa_text_size">14dp</dimen>
<dimen name="widget_margin">0dp</dimen>
</resources>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_widget_description">Rain Widget</string>
<string name="date_format_widget_oreo_style">EEE, d MMM │</string>
<string name="date_format_widget_oreo_big_style">EEEE, d MMM │</string>
</resources>

View file

@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode
setting is off -->
<style name="LaunchTheme" parent="@style/Theme.Material3.DynamicColors.DayNight.NoActionBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:forceDarkAllowed">false</item>
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="o_mr1">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
@ -15,7 +17,15 @@
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<style name="NormalTheme" parent="@style/Theme.Material3.DynamicColors.DayNight.NoActionBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
<style name="Widget.Android.AppWidget.Container" parent="android:Widget">
<item name="android:id">@android:id/background</item>
<item name="android:background">?attr/colorSurface</item>
</style>
<style name="Widget.Android.AppWidget.InnerView" parent="android:Widget">
<item name="android:background">?attr/colorSurface</item>
<item name="android:textColor">?attr/itemTextColor</item>
</style>
</resources>

View file

@ -0,0 +1,16 @@
<resources>
<style name="Theme.Android.AppWidgetContainerParent" parent="@style/Theme.Material3.DynamicColors.DayNight">
<!-- Radius of the outer bound of widgets to make the rounded corners -->
<item name="appWidgetRadius">16dp</item>
<!--
Radius of the inner view's bound of widgets to make the rounded corners.
It needs to be 8dp or less than the value of appWidgetRadius
-->
<item name="appWidgetInnerRadius">8dp</item>
</style>
<style name="Theme.Android.AppWidgetContainer" parent="Theme.Android.AppWidgetContainerParent">
<!-- Apply padding to avoid the content of the widget colliding with the rounded corners -->
<item name="appWidgetPadding">8dp</item>
</style>
</resources>

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:description="@string/app_widget_description"
android:initialKeyguardLayout="@layout/oreo_widget_medium"
android:initialLayout="@layout/oreo_widget_medium"
android:previewLayout="@layout/oreo_widget_medium"
android:resizeMode="horizontal|vertical"
android:targetCellWidth="5"
android:targetCellHeight="1"
android:updatePeriodMillis="0"
android:widgetCategory="home_screen"
tools:ignore="UnusedAttribute" />

View file

@ -1,5 +1,4 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.rain">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.

View file

@ -1,16 +1,3 @@
buildscript {
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
@ -26,6 +13,6 @@ subprojects {
project.evaluationDependsOn(':app')
}
task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}

View file

@ -1,3 +1,4 @@
org.gradle.jvmargs=-Xmx1536M
org.gradle.jvmargs=-Xmx4G
android.useAndroidX=true
android.enableJetifier=true
android.enableR8.fullMode = false

View file

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip

View file

@ -1,11 +1,25 @@
include ':app'
pluginManagement {
def flutterSdkPath = {
def properties = new Properties()
file("local.properties").withInputStream { properties.load(it) }
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
return flutterSdkPath
}()
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
def properties = new Properties()
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
assert localPropertiesFile.exists()
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
def flutterSdkPath = properties.getProperty("flutter.sdk")
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "8.9.0" apply false
id "org.jetbrains.kotlin.android" version "2.1.10" apply false
}
include ":app"

BIN
assets/icons/City.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

BIN
assets/icons/Design.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

BIN
assets/icons/Rain.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
assets/icons/Team.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 49 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 452 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 6.1 KiB

Before After
Before After

BIN
assets/images/clear_day.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Before After
Before After

BIN
assets/images/cloudy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
assets/images/cold.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

BIN
assets/images/dew.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

Before After
Before After

Some files were not shown because too many files have changed in this diff Show more