15 Commits

Author SHA1 Message Date
Wenqi Li
e8c1d71d0a Upgrade flutter_lints dependency. Lint code according to the use_string_in_part_of_directives rule. 2024-03-25 03:38:36 +08:00
Wenqi Li
5ff97adc56 use an initializing formal to assign a parameter to a field. 2023-08-01 19:21:38 +08:00
Wenqi Li
c152bb6bbd remove unnecessary 'const', 'new' keyword and 'this.' qualifier. 2023-08-01 19:21:15 +08:00
Wenqi Li
8e6ac397a7 update getting album thumbnail and album thumbnail provider 2023-07-25 22:36:41 +08:00
Wenqi Li
185628470a add light weight support in Album and MediaPage 2023-07-24 00:36:28 +08:00
Wenqi Li
f72778a5d3 add default value to models 2023-06-12 00:59:30 +08:00
Wenqi Li
88e0ad714b *Break changes:
• move "newest" parameter from "listMedia" to "listAlbums" API
• move "newest" property from "MediaPage" to "Media"
• add "newest" parameter of getAlbumThumbnail API
• update album parameter of AlbumThumbnailProvider
2023-05-14 01:08:51 +08:00
Wenqi Li
7898c4bde3 remove unnecessary "total" parameter of "listMedia" API, remove unnecessary "total" property of "MediaPage", use "total" of "Album" instead. 2023-05-12 18:08:16 +08:00
Wenqi Li
6a68b22df0 update getting album thumbnail service and AlbumThumbnailProvider to show all grey image when album is empty 2023-05-03 18:55:29 +08:00
Wenqi Li
79df5c21ea update album name property to nullable 2021-10-20 21:27:32 +08:00
Wenqi Li
6baf8cfb0c add sorting photos by date ascending or descending functionality 2021-04-04 20:34:05 +08:00
Richard Bushnell
eaa1cf2e25 Upgrade to null safety 2021-03-18 12:00:31 +00:00
Wenqi Li
ce9184372b add optional mediumType parameter of getAlbumThumbnail api method to display video thumbnail correctly 2020-09-20 18:34:26 +08:00
Wenqi Li
04249eeab3 remove MediumType attribute in MediaPage, and remove MediumType parameter in listMedia method 2020-08-22 17:01:33 +08:00
Wenqi Li
67d2a5f8a2 initial commit 2020-08-14 18:07:27 +08:00