ImageSource.file constructor
ImageSource.file(
- String filePath, {
- ImageFormat? format,
本地文件图片
Implementation
ImageSource.file(String filePath, {ImageFormat? format})
: data = filePath,
type = ImageSourceType.file,
format = format ?? ImageFormat.unknown;