bible_core 0.1.1 copy "bible_core: ^0.1.1" to clipboard
bible_core: ^0.1.1 copied to clipboard

Core Bible controller, parsing, sources, and offline cache.

bible_core #

Core Bible controller for Flutter/Dart apps: URL-based sources, offline caching, lazy chapter parsing, and search.

Usage #

import 'package:bible_core/bible_core.dart';

final controller = BibleController(
  sources: {
    'it': 'https://api.getbible.net/v2/riveduta.json',
    'ar': 'https://firebasestorage.googleapis.com/v0/b/milano-af4f2.appspot.com/o/Arabic%20Bible.json?alt=media&token=70aa1327-857e-4ed8-b823-4060c0db97bb',
  },
  initialLanguage: 'ar',
);
await controller.loadBible();
final books = controller.books;
final verses = controller.chapterVerses(books.first, 1);

Features #

  • Load Bible JSON from URLs
  • Persist cache with offline fallback
  • Lazy per-chapter verse materialization
  • Simple search across verses

License #

MIT

0
likes
135
points
30
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Core Bible controller, parsing, sources, and offline cache.

License

MIT (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on bible_core