asset method

Image asset({
  1. required String alias,
  2. bool isProjectImage = false,
})

Implementation

Image asset({required String alias, bool isProjectImage = false}) {
  return Image(
    image: AssetImageProvider.render(alias, isProjectImage: isProjectImage, imageConfig: _imageConfig),
  );
}