feat: 搜索建议

This commit is contained in:
guozhigq
2023-06-20 14:23:18 +08:00
parent 335718b3a0
commit 7e7892aab2
13 changed files with 301 additions and 83 deletions

View File

@ -1,5 +1,7 @@
// ignore: file_names
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
import 'package:pilipala/common/widgets/network_img_layer.dart';
class HotKeyword extends StatelessWidget {
final double? width;
@ -44,10 +46,8 @@ class HotKeyword extends StatelessWidget {
if (i.icon != null && i.icon != '')
SizedBox(
width: 40,
child: Image.network(
i.icon!,
height: 15,
),
child:
CachedNetworkImage(imageUrl: i.icon!, height: 15.0),
),
],
),