40 Commits

Author SHA1 Message Date
Wenqi Li
72a0f5931d remove warning of non_nullable_equals_parameter 2024-03-25 02:13:46 +08:00
Wenqi Li
ce6185ae1a add dart-doc on PhotoGallery api 2024-03-24 22:09:50 +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
84cad566db add public APIs' dartdoc comments 2023-07-30 00:54:28 +08:00
Wenqi Li
e9ecd562f5 remove unused code 2023-07-30 00:53:46 +08:00
Wenqi Li
8e6ac397a7 update getting album thumbnail and album thumbnail provider 2023-07-25 22:36:41 +08:00
Wenqi Li
ce01bdb79e catch exception of getting medium thumbnail to show default image 2023-07-25 22:35:53 +08:00
Wenqi Li
e3ad9b637e simplify code of loading image file 2023-07-24 00:58:15 +08:00
Wenqi Li
fe0e80e32a rearrange and clean up code 2023-07-24 00:42:07 +08:00
Wenqi Li
185628470a add light weight support in Album and MediaPage 2023-07-24 00:36:28 +08:00
Wenqi Li
2db4d8901e add android support for deleting medium and listing media with light weight option 2023-07-24 00:33:23 +08:00
Kwanwoo Kim
9fc637fa50 Delete Medium for iOS 2023-06-25 17:29:58 -07:00
Wenqi Li
f72778a5d3 add default value to models 2023-06-12 00:59:30 +08:00
Wenqi Li
33defb2fec 'DecoderBufferCallback' is deprecated. Use "ImageDecoderCallback" with ImageProvider.loadImage instead. 2023-05-18 00:34:13 +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
6976ab8d3b update "mediumType" to be optional parameter of "listAlbums" to allow fetch both type of media 2023-05-11 21:56:25 +08:00
Wenqi Li
c79a684879 use DecoderBufferCallback instead of DecoderCallback in ImageProviders 2023-05-07 20:03:01 +08:00
Wenqi Li
ab0f81607b add size property of medium 2023-05-06 01:20:04 +08:00
Wenqi Li
3db02aa2ec remove unused imports 2023-05-05 23:38:02 +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
f4ca41daa1 clean up code 2023-05-03 18:54:23 +08:00
Wenqi Li
54a5f6bad9 add "filename" and "title" property of Medium 2021-10-21 23:04:36 +08:00
Wenqi Li
79df5c21ea update album name property to nullable 2021-10-20 21:27:32 +08:00
Christian Spreer
fa6414da13 Adding the orientation parameter of images and videos to the library in android 2021-07-09 18:45:20 +02:00
Wenqi Li
ea75f18cfe add optional "hideIfEmpty" parameter in "listAlbums" API to show empty albums, only available on iOS platform 2021-04-18 16:15:24 +08:00
Wenqi Li
270432154d add "mimeType" parameter in "getFile" API to allow specifying image format when get full image on both platforms 2021-04-13 22:02:35 +08:00
Wenqi Li
6baf8cfb0c add sorting photos by date ascending or descending functionality 2021-04-04 20:34:05 +08:00
Wenqi Li
184b728f12 update to satisfy null safety 2021-03-30 22:30:21 +08:00
Richard Bushnell
eaa1cf2e25 Upgrade to null safety 2021-03-18 12:00:31 +00:00
Wenqi Li
a44d9da2ea add mimeType attribute in Medium 2021-01-10 21:43:49 +08:00
Wenqi Li
5ddd31fed9 add cleanCache api 2021-01-10 21:09:25 +08: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
67ca4415a9 add some comments on public APIs 2020-08-22 17:02:16 +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
af91b50909 add mediumType attribute in ThumbnailProvider 2020-08-22 14:12:54 +08:00
Wenqi Li
32129c5e9e add video duration attribute in Medium 2020-08-18 16:12:06 +08:00
Wenqi Li
fe319937c9 remove transparent_image dependency out of plugin 2020-08-14 19:15:43 +08:00
Wenqi Li
67d2a5f8a2 initial commit 2020-08-14 18:07:27 +08:00