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,
     _openShards = _ritoOpenShardsWithPinnedFonts,
     _supplyShard = _ritoSupplyShard,
     _contentShardsNear = _ritoContentShardsNear,
     _fontCatalog = _ritoFontCatalog,
     _unresolvedFontFamilies = _ritoUnresolvedFontFamilies,
     _addHostFontFaces = _ritoAddHostFontFaces,
     _removeHostFontFaces = _ritoRemoveHostFontFaces,
     _markFontFamilyUnavailable = _ritoMarkFontFamilyUnavailable,
     _requestArtifact = _ritoRequestArtifact,
     _requestAdjacent = _ritoRequestAdjacent,
     _peekAdjacent = _ritoPeekAdjacent,
     _peekSpread = _ritoPeekSpread,
     _commitPeeked = _ritoCommitPeekedArtifact,
     _readPublication = _ritoReadPublication,
     _adoptForeground = _ritoAdoptForegroundCandidate,
     _advanceBackground = _ritoAdvanceBackground,
     _adoptBackground = _ritoAdoptBackgroundCandidate,
     _readResource = _ritoReadResource,
     _readFootnote = _ritoReadFootnote,
     _readPage = _ritoReadPage,
     _textRangeGeometry = _ritoGetTextRangeGeometry,
     _exactSourceRange = _ritoResolveExactSourceRange,
     _textInteraction = _ritoResolveTextInteraction,
     _annotation = _ritoResolveAnnotation,
     _navigation = _ritoResolveNavigation,
     _search = _ritoSearch,
     _release = _ritoReleaseArtifact,
     _dispose = _ritoDispose,
     _bufferFree = _ritoBufferFree;