mina_reader 0.0.6 copy "mina_reader: ^0.0.6" to clipboard
mina_reader: ^0.0.6 copied to clipboard

Read Plain Text books. Make highlight, bold, italic selected text. Read with auto scroll.

8
likes
80/ 140
pub points
0%
popularity

We analyzed this package 14 hours ago, and awarded it 80 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

106 out of 387 API elements (27.4 %) have documentation comments.

Some symbols that are missing documentation: ReaderScreenSettings, ReaderScreenSettings.ReaderScreenSettings, ReaderScreenSettings.ReaderScreenSettings.ReaderScreenSettings, ReaderScreenSettings.ReaderScreenSettings.texts, SectionScreen.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:mina_reader/mina_reader.dart that imports:
  • package:mina_reader/book_library/screens/books/books_screen.dart that imports:
  • package:mina_reader/book_library/screens/books/widgets/books_widget.dart that imports:
  • package:mina_reader/book_library/screens/sections/SectionScreen.dart that imports:
  • package:mina_reader/book_library/screens/reader/book_reader_screen.dart that imports:
  • package:mina_reader/book_library/screens/reader/highlight/highlight_helper.dart that imports:
  • package:mina_reader/book_library/screens/reader/bloc/reader_bloc.dart that imports:
  • package:mina_reader/book_library/components/scroll_speed_widget.dart that imports:
  • package:mina_reader/book_library/screens/reader/ReaderScreenSettings.dart that imports:
  • package:flutter_screenutil/flutter_screenutil.dart that imports:
  • package:flutter_screenutil/src/size_extension.dart that imports:
  • package:flutter_screenutil/src/screen_util.dart that imports:
  • dart:io
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 36 issues. Showing the first 2:

ERROR: The argument type 'Scaffold Function()' can't be assigned to the parameter type 'Widget Function(BuildContext, Widget?)?'.

lib/book_library/screens/books/books_screen.dart:36:16

   ╷
36 │         builder: () => Scaffold(
   │ ┌────────────────^
37 │ │         appBar: AppBar(
38 │ │           backgroundColor: kBookCardBackgroundColor,
39 │ │           title: Text(
40 │ │             title,
41 │ │             style: TextStyle(color: kBookTitleColor),
42 │ │           ),
43 │ │         ),
44 │ │         body: SafeArea(
45 │ │           child: BlocProvider<BookBloc>(
46 │ │             create: (context) => BookBloc(),
47 │ │             child: BlocBuilder<BookBloc, BookState>(
48 │ │               buildWhen: (context, state) =>
49 │ │                   !(state is BookGoToSection || state is BookLoading),
50 │ │               builder: (context, state) {
   │ └────────────────────^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/book_library/screens/books/books_screen.dart

ERROR: 'MyMaterialTextSelectionControls.buildToolbar' ('Widget Function(BuildContext, Rect, double, Offset, List

lib/book_library/text_selection_controls.dart:44:10

   ╷
44 │   Widget buildToolbar(
   │          ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/book_library/text_selection_controls.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
equatable ^2.0.2 2.0.5 2.0.5
flutter flutter 0.0.0 0.0.0
flutter_bloc ^7.0.0 7.3.3 8.1.5
flutter_screenutil ^5.0.0+2 5.9.0 5.9.0
hive ^2.0.4 2.2.3 2.2.3
hive_flutter ^1.0.0 1.1.0 1.1.0
Transitive dependencies
Package Constraint Compatible Latest
bloc - 7.2.1 8.1.4
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^7.0.0` on flutter_bloc does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions flutter_bloc to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

8
likes
80
pub points
0%
popularity

Publisher

unverified uploader

Read Plain Text books. Make highlight, bold, italic selected text. Read with auto scroll.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

equatable, flutter, flutter_bloc, flutter_screenutil, hive, hive_flutter

More

Packages that depend on mina_reader