PdfViewBuilder<T> typedef

PdfViewBuilder<T> = Widget Function(BuildContext context, PdfViewBuilders<T> builders, PdfLoadingState state, WidgetBuilder loadedBuilder, PdfDocument? document, Exception? loadingError)

Implementation

typedef PdfViewBuilder<T> = Widget Function(
  /// Build context
  BuildContext context,

  /// All passed builders
  PdfViewBuilders<T> builders,

  /// Document loading state
  PdfLoadingState state,

  /// Loaded result builder
  WidgetBuilder loadedBuilder,

  /// Pdf document when he loaded
  PdfDocument? document,

  /// Error of pdf loading
  Exception? loadingError,
);