width property
Width of the source image in pixels (after header parse / decode metadata).
Example:
final sourceWidth = _decoder!.width;
print('Source image width: $sourceWidth');
Implementation
int get width {
final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Int32 Function(Pointer<Void>),
int Function(Pointer<Void>)
>('navigine_sdk_flutter_BitmapRegionDecoder_width_get'));
final _handle = this.handle;
final _widthHandle = _getFfi(_handle);
final _result = navigine_sdk_flutter_int_FromFfi(_widthHandle);
navigine_sdk_flutter_int_ReleaseFfiHandle(_widthHandle);
return _result;
}