RitoNativeBindings constructor

RitoNativeBindings({
  1. RitoArtifactDecoder artifactDecoder = const RitoArtifactDecoder(),
  2. RitoResourceDecoder resourceDecoder = const RitoResourceDecoder(),
  3. RitoFootnoteDecoder footnoteDecoder = const RitoFootnoteDecoder(),
})

Implementation

RitoNativeBindings({
  this.artifactDecoder = const RitoArtifactDecoder(),
  this.resourceDecoder = const RitoResourceDecoder(),
  this.footnoteDecoder = const RitoFootnoteDecoder(),
}) : _open = _ritoOpen,
     _openWithPinnedFonts = _ritoOpenWithPinnedFonts,
     _requestArtifact = _ritoRequestArtifact,
     _requestAdjacent = _ritoRequestAdjacent,
     _peekAdjacent = _ritoPeekAdjacent,
     _commitPeeked = _ritoCommitPeekedArtifact,
     _readPublication = _ritoReadPublication,
     _adoptForeground = _ritoAdoptForegroundCandidate,
     _advanceBackground = _ritoAdvanceBackground,
     _adoptBackground = _ritoAdoptBackgroundCandidate,
     _readResource = _ritoReadResource,
     _readFootnote = _ritoReadFootnote,
     _textRangeGeometry = _ritoGetTextRangeGeometry,
     _exactSourceRange = _ritoResolveExactSourceRange,
     _search = _ritoSearch,
     _release = _ritoReleaseArtifact,
     _dispose = _ritoDispose,
     _bufferFree = _ritoBufferFree;