initUiImage method
Implementation
Future<void> initUiImage() async {
final ByteData data = await rootBundle.load(_path);
uiImage = await _loadImage(Uint8List.view(data.buffer));
if(!withPart){
width = uiImage.width as double;
height = uiImage.height as double;
}
}