Compare commits

...

2 Commits

Author SHA1 Message Date
LittleSheep
06f04eb3a5 🎉 Launch 3.2.0+128 2025-08-25 01:55:54 +08:00
LittleSheep
8af97e43b4 💄 Optimize articles view 2025-08-25 01:48:43 +08:00
2 changed files with 4 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class SliverArticlesList extends ConsumerWidget {
publisherId: publisherId,
).notifier,
contentBuilder:
(data, widgetCount, endItemView) => SliverList.builder(
(data, widgetCount, endItemView) => SliverList.separated(
itemCount: widgetCount,
itemBuilder: (context, index) {
if (index == widgetCount - 1) {
@@ -111,6 +111,7 @@ class SliverArticlesList extends ConsumerWidget {
final article = data.items[index];
return WebArticleCard(article: article, showDetails: true);
},
separatorBuilder: (context, index) => const SizedBox(height: 12),
),
);
}
@@ -155,7 +156,7 @@ class ArticlesScreen extends ConsumerWidget {
slivers: [
SliverPadding(
padding: const EdgeInsets.only(
top: 8,
top: 12,
left: 8,
right: 8,
),

View File

@@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 3.2.0+127
version: 3.2.0+128
environment:
sdk: ^3.7.2