height property

int get height
override

Height of the source image in pixels (after header parse / decode metadata).

Example:

final sourceHeight = _decoder!.height;
print('Source image height: $sourceHeight');

Implementation

int get height {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Int32 Function(Pointer<Void>),
        int Function(Pointer<Void>)
      >('navigine_sdk_flutter_BitmapRegionDecoder_height_get'));

    final _heightHandle = _getFfi(this.ptr);
    final _result = _heightHandle;
    exception.checkCallResult();
    return _result;
}