assetsImagesPath function

String assetsImagesPath(
  1. String name, {
  2. String format = "png",
})

获取图片路径

Implementation

String assetsImagesPath(String name, {String format = "png"}) =>
    "assets/images/$name.$format";