Starlight epub viewer - Epub viewer for flutter

Overview

Starlight Epub Viewer

starlight_epub_viewer is an epub ebook reader that encapsulates the folioreader framework. It supports iOS and android.

Features

Name Android iOS
Reading Time Left / Pages left
Last Read Locator
Highlight And Notes
Load ePub from Asset
Share
Distraction Free Reading

ScreenShots (Android)

           

ScreenShots (Ios)

           

Installation

Add starlight_epub_viewer as dependency to your pubspec file.

   starlight_epub_viewer: 
    git:
      url: https://github.com/YeMyoAung/starlight_epub_viewer.git

Android Setup

No additional integration steps are required for Android.

Ios Setup

This plugin requires Swift to work on iOS.

Add the following lines in the Podfile file of your iOS project

platform :ios, '9.0'
...
target 'Runner' do
  use_frameworks!
  use_modular_headers!
  pod 'FolioReaderKit', :git => 'https://github.com/YeMyoAung/starlight_folioreader.git'
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

Usage

First of all you need to import our package.

import 'package:starlight_epub_viewer/starlight_epub_viewer.dart';

And then you can use easily.

  /// Config
  StarlightEpubViewer.setConfig(
    ///for viewer color
    themeColor: Colors.blue,
    ///night mode for viewer
    nightMode: false,
    ///scroll direction for viewer
    scrollDirection: StarlightEpubViewerScrollDirection.ALLDIRECTIONS,
    ///if you want to share your epub file
    allowSharing: true,
    ///enable the inbuilt Text-to-Speech
    enableTts: true,
    ///if you want to show remaining 
    setShowRemainingIndicator: true,
  );
  
  /// Open From File
  StarlightEpubViewer.open(
      "file path",
  );
  
  /// Open From Assets Folder
  StarlightEpubViewer.openAsset(
      "assets file path",
  );
  

Contact Us

Starlight Studio

You might also like...
DTPhotoViewerController - A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer.
DTPhotoViewerController - A fully customizable photo viewer ViewController to display single photo or collection of photos, inspired by Facebook photo viewer.

DTPhotoViewerController Example Demo video: https://youtu.be/aTLx4M4zsKk DTPhotoViewerController is very simple to use, if you want to display only on

Flutter & flutter_boost开发iOS混合开发项目问题记录;iOS远程依赖Flutter Module组件代码;
Flutter & flutter_boost开发iOS混合开发项目问题记录;iOS远程依赖Flutter Module组件代码;

[TOC] 这个仓库主要有2部分,整理了如何在iOS项目导入FlutterModule组件代码,以及整理开发过程中遇到的一些问题和对应的解决方案。 在iOS项目依赖FlutterModule组件代码 依赖Flutter组件代码的分为本地依赖、远程依赖2种。下面介绍的前3种是本地依赖,同时也是官方推荐

Realtime yoga pose detection and classification plugin for Flutter using MLKit

ML Kit Pose Detection Plugin Flutter plugin for realtime pose detection using MLKit's Blazepose. License Copyright (c) 2021 Souvik Biswas, Bharat Bira

Corona Virus Tracker & Advices App with Flutter
Corona Virus Tracker & Advices App with Flutter

Corona Virus Tracker & Advices App with Flutter Try the web app dev preview https://alfian-flutter-coronatracker.firebaseapp.com/ Features Current sta

A Flutter plugin (platform channel with Swift) to get the current app name and also bring our app to the front.

window_to_front A new flutter plugin project. Getting Started This project is a starting point for a Flutter plug-in package, a specialized package th

Flutter package for detecting NSFW images and videos using native implementation

Flutter NSFW 1- Download, tflite modle and put it in assets folder 2 - Add the path of the tfliet to pubspec.yaml 3 - Read the file using path_provide

A apple search ads attribution plugin for flutter

A apple search ads attribution plugin for flutter

Projeto utilizando Flutter para desenvolver uma aplicação com o objetivo de gerenciar uma lista de livros, como se fosse uma biblioteca, sendo possível adicionar, editar e excluir livros.

todo_list_flutter A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you st

Mi Card App for Android & IOS in Flutter
Mi Card App for Android & IOS in Flutter

Mi Card Our Goal Now that you've seen how to create a Flutter app entirely from scratch, we're going to go further and learn more about how to design

Magic 8Ball App for Android & IOS in Flutter
Magic 8Ball App for Android & IOS in Flutter

Magic 8 Ball 🎱 Our Goal The objective of this challenge is to solidify what you've learn't in the Dicee tutorial. This app will guide you through the

Dicee App for Android & IOS in Flutter
Dicee App for Android & IOS in Flutter

Dicee 🎲 Our Goal The objective of this tutorial is to introduce you to the core programming concepts that will form the foundation of most of the app

Flutter plugin to display VGS card info using TextView or View

VGS Card Info Flutter plugin to display VGS Card info using TextView or View Installation Add the dependency in your pubspec.yaml vgscardinfo: git

Flutter Piano Audio Detection implemented with Tensorflow Lite Model (Google Magenta)
Flutter Piano Audio Detection implemented with Tensorflow Lite Model (Google Magenta)

FlutterPianoAudioDetection Plugin Flutter Piano Audio Detection implemented with Tensorflow Lite Model (Google Magenta) Android Implementation iOS/iPa

 Flutter Apple Product Store App UI Home Page With Getx
Flutter Apple Product Store App UI Home Page With Getx

Flutter Apple Product Store App UI Home Page With Getx A new Flutter UI Project on my Youtube Channel . About The Project Create a beautiful Flutter U

A new Flutter plugin that uses OpenVpn

flutter_openvpn A new Flutter plugin that uses OpenVpn. Installation Depend on it Add this to your package's pubspec.yaml file: dependencies: flutte

A Flutter powered messaging app including Firebase registration, authentication and group messaging feature.

we_chat A Flutter powered messaging app including Firebase registration, authentication and group messaging feature. Getting Started This project is a

Klab Academy, example of calling APIs in flutter

klab A new Flutter application. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Aplicativo desenvolvido em Flutter que gera frases aleatórias

frases_do_dia Aplicativo desenvolvido em Flutter que gera Frases aleatórias Getting Started This project is a starting point for a Flutter application

I'm trying to make Flutter based Audio Unit Extensions possible.
I'm trying to make Flutter based Audio Unit Extensions possible.

Flutter AUv3 Audio Unit Error Demo Motivation We are the developers of Audanika, a professional MIDI Controller app written in Flutter. Many of our us

Comments
  • Error running pod install

    Error running pod install

    Hello, i faced with pod install error

    [!] CocoaPods could not find compatible versions for pod "Realm":
          In Podfile:
            starlight_epub_viewer (from `.symlinks/plugins/starlight_epub_viewer/ios`) was resolved to
            0.0.1, which depends on
              FolioReaderKit (~> 1.4.0) was resolved to 1.4.0, which depends on
                RealmSwift (= 3.13.1) was resolved to 3.13.1, which depends on
                  Realm (= 3.13.1)
    
            starlight_epub_viewer (from `.symlinks/plugins/starlight_epub_viewer/ios`) was resolved to
            0.0.1, which depends on
              Realm (~> 10.28.3)
    
    opened by chuiizeet 1
  • How do i fix this

    How do i fix this

    android:exported needs to be explicitly specified for element <activity#com.folioreader.ui.activity.SearchActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
    

    FAILURE: Build failed with an exception.

    • What went wrong: Execution failed for task ':app:processDebugMainManifest'.

    Manifest merger failed : android:exported needs to be explicitly specified for element <activity#com.folioreader.ui.activity.SearchActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

    opened by JohnKinyanjui 1
  • Could not find com.jideguru:folioreader:0.6.2

    Could not find com.jideguru:folioreader:0.6.2

    Hello please I'm having issues getting this to work.

    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.
    > Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
       > Could not find com.jideguru:folioreader:0.6.2.
         Searched in the following locations:
           - https://dl.google.com/dl/android/maven2/com/jideguru/folioreader/0.6.2/folioreader-0.6.2.pom
           - https://repo.maven.apache.org/maven2/com/jideguru/folioreader/0.6.2/folioreader-0.6.2.pom
           - https://storage.googleapis.com/download.flutter.io/com/jideguru/folioreader/0.6.2/folioreader-0.6.2.pom
           - https://jitpack.io/com/jideguru/folioreader/0.6.2/folioreader-0.6.2.pom
         Required by:
             project :app > project :starlight_epub_viewer
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    opened by papakay 0
Owner
Ye Myo Aung
Programming is my passion.
Ye Myo Aung
Dicee App for Android & IOS in Flutter

Dicee ?? Our Goal The objective of this tutorial is to introduce you to the core programming concepts that will form the foundation of most of the app

Ruksar Ahmed 0 Nov 6, 2021
Aplicativo desenvolvido em Flutter que gera frases aleatórias

frases_do_dia Aplicativo desenvolvido em Flutter que gera Frases aleatórias Getting Started This project is a starting point for a Flutter application

DION RIBEIRO LARANJEIRA 0 Dec 29, 2021
A Flutter tourism app that is backed-by Redux, shows animations, internationalization (i18n, English <=> Arabic), ClipPath, and fonts

A Flutter tourism app that is backed-by Redux, shows animations, internationalization (i18n, English <=> Arabic), ClipPath, and fonts. YouTube demo I

Abdulmomen Kadum عبدالمؤمن كاظم 277 Dec 28, 2022
Flutter news app with NewsApi Org

Installation flutter pub get Usage flutter run Learn I will show how to create a flutter news app with NewsApi Org, In Flutter News App we will load

Sanskar Tiwari 378 Jan 1, 2023
A Flutter Clean Architecture Using GetX.

flutter-getx-clean-architecture A Flutter Clean Architecture Using GetX. Work Flow Project Structure |-- lib |-- main.dart |-- app |--

Duc Pham 93 Dec 27, 2022
Full Stack Mobile Application built with Flutter, Java Spring-Boot and MongoDB

??‍?? Calling all chefs! Pocket Recipes is a recipe storage application with additional features that make organizing your recipes very easy.

Hayden Hanson 2 Dec 5, 2022
Macho is yet another mach-o file viewer

Mocha is yet another mach-o file viewer. Requirement: Xcode: 13.*, macOS 13.* It's written in SwiftUI, so it requires the latest version of Xcode and

null 128 Dec 28, 2022
Daydreamer - A Figma viewer created in Swift Playgrounds for iPad

Daydreamer A native Figma client for iPad, created exclusively using Swift Playg

featherless 3 Feb 18, 2022
Flutter openvpn - A new Flutter plugin that uses OpenVpn

flutter_openvpn A new Flutter plugin that uses OpenVpn. Installation Depend on i

Ferdi Gökdemir 0 Jan 8, 2022
📚 A Swift ePub reader and parser framework for iOS.

FolioReaderKit is an ePub reader and parser framework for iOS written in Swift. Features ePub 2 and ePub 3 support Custom Fonts Custom Text Size Text

FolioReader 2.5k Jan 8, 2023