asset method

String asset({
  1. String module = 'common',
  2. dynamic format = 'png',
})

获取图片位置 通用 assets/images/common

Implementation

String asset({String module = 'common', format = 'png'}) {
  return _getCommonPath(path: module);
}