EpubViewBuilder<T> typedef

EpubViewBuilder<T> = Widget Function(BuildContext context, EpubViewBuilders<T> builders, EpubViewLoadingState state, WidgetBuilder loadedBuilder, Exception? loadingError)

Implementation

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

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

  /// Document loading state
  EpubViewLoadingState state,

  /// Loaded result builder
  WidgetBuilder loadedBuilder,

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