Skip to content

无法使用本地图片吗 #76

@derekzhan

Description

@derekzhan

itemBuilder: (BuildContext context, int index) {
/return new Image.network(
"http://via.placeholder.com/288x188",
fit: BoxFit.fill,
);
/
return new Image.asset("img/icon_home_discover_head_bg.jpg", fit: BoxFit.fill,);
},
,谢谢
如上代码,用本地的图片无法加载,请问怎么处理

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions