ReadiumReaderWidget constructor

const ReadiumReaderWidget({
  1. required Publication publication,
  2. Widget loadingWidget = const Center(child: CircularProgressIndicator()),
  3. Locator? initialLocator,
  4. VoidCallback? onTap,
  5. VoidCallback? onGoLeft,
  6. VoidCallback? onGoRight,
  7. VoidCallback? onSwipe,
  8. dynamic onExternalLinkActivated(
    1. String
    )?,
  9. void onLocatorChanged(
    1. Locator
    )?,
  10. Key? key,
})

Implementation

const ReadiumReaderWidget({
  required this.publication,
  this.loadingWidget = const Center(child: CircularProgressIndicator()),
  this.initialLocator,
  this.onTap,
  this.onGoLeft,
  this.onGoRight,
  this.onSwipe,
  this.onExternalLinkActivated,
  this.onLocatorChanged,
  super.key,
});