Blame view

lib/pages/home/widgets/home_bouns_item.dart 397 Bytes
8988aa69   liangchengyou   feat:首页+课程列表数据获取
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  import 'package:flutter/cupertino.dart';
  import 'package:flutter_screenutil/flutter_screenutil.dart';
  
  class HomeBoundsItem extends StatelessWidget {
    const HomeBoundsItem({super.key, this.imageUrl});
  
    final String? imageUrl;
  
    @override
    Widget build(BuildContext context) {
      return SizedBox(
        height: 207.h,
        width: 169.w,
        child: Image.network(imageUrl??''),
      );
    }
  }