1. 升级依赖版本

2. 解决运行项目警告日志问题
3. 优化代码
This commit is contained in:
2026-06-04 13:55:33 +08:00
parent 66435302b3
commit 02c1c87b46
15 changed files with 351 additions and 145 deletions

View File

@@ -24,7 +24,7 @@ class AppNetworkImage extends StatelessWidget {
width: width,
height: height,
fit: fit,
placeholder: (_, __) => ColoredBox(
placeholder: (_, _) => ColoredBox(
color: Theme.of(context).colorScheme.surfaceContainerHighest,
child: const Center(
child: SizedBox.square(
@@ -33,7 +33,7 @@ class AppNetworkImage extends StatelessWidget {
),
),
),
errorWidget: (_, __, ___) => ColoredBox(
errorWidget: (_, _, _) => ColoredBox(
color: Theme.of(context).colorScheme.surfaceContainerHighest,
child: Icon(
Icons.image_not_supported_outlined,

View File

@@ -61,7 +61,7 @@ class _AppRefreshListState<T> extends State<AppRefreshList<T>> {
: ListView.separated(
padding: widget.padding,
itemCount: widget.items.length,
separatorBuilder: (_, __) =>
separatorBuilder: (_, _) =>
widget.separator ?? const SizedBox(height: 8),
itemBuilder: (context, index) {
return widget.itemBuilder(context, widget.items[index], index);