flutter_translation_sheet 1.0.16+34
flutter_translation_sheet: ^1.0.16+34 copied to clipboard
Flutter Translation Sheet (fts) is a simple tool to help you with localization (l10n), using automatic GoogleSheet translations via (Gtranslate), generating json & dart files.
We analyzed this package 16 days ago, and awarded it 110 pub points (of a possible 130):
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: Package has an example
10/10 points: 20% or more of the public API has dartdoc comments
- 75 out of 204 API elements (36.8 %) have documentation comments.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)
- ✓ Windows
- ✓ Linux
- ✓ MacOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `iOS`.
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that declares support for platforms:Windows
,Linux
,macOS
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Windows
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that imports:package:dcli/src/util/wait_for_ex.dart
that imports:dart:cli
Package does not support platform `Linux`.
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that imports:package:dcli/src/util/terminal.dart
that imports:package:dart_console/dart_console.dart
that imports:package:dart_console/src/console.dart
that imports:package:dart_console/src/ffi/win/termlib-win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:flutter_translation_sheet/flutter_translation_sheet.dart
that imports:package:flutter_translation_sheet/src/commands/commands.dart
that imports:package:flutter_translation_sheet/src/commands/init.dart
that imports:package:dcli/dcli.dart
that imports:package:dcli/src/util/terminal.dart
that imports:package:dart_console/dart_console.dart
that imports:package:dart_console/src/console.dart
that imports:package:dart_console/src/ffi/win/termlib-win.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
20/30 points: code has no errors, warnings, lints, or formatting issues
Found 20 issues. Showing the first 2:
INFO: Dead code.
lib/src/commands/init.dart:30:3
╷
30 │ ┌ final myApi = GSheets(
31 │ │ config.sheetCredentials,
32 │ │ scopes: [
33 │ │ SheetsApi.driveScope,
34 │ │ SheetsApi.driveFileScope,
35 │ │ SheetsApi.spreadsheetsScope,
36 │ │ ],
37 │ │ );
38 │ │
39 │ │ final res = await myApi.listSpreadsheets();
40 │ │ res.forEach(print);
41 │ │ exit(0);
42 │ │ // final cli = await myApi.client;
43 │ │ // // final client = await this.client.catchError((_) {
44 │ │ // // // retry once on error
45 │ │ // // _client = null;
46 │ │ // // return this.client;
47 │ │ // // });
48 │ │ // // final response = await client.get('$_sheetsEndpoint$spreadsheetId'.toUri());
│ └───────────────────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/commands/init.dart
INFO: The import of 'package:googleapis_auth/googleapis_auth.dart' is unnecessary because all of the used elements are also provided by the import of 'package:googleapis_auth/auth_io.dart'.
lib/src/gsheets/gsheets.dart:13:8
╷
13 │ import 'package:googleapis_auth/googleapis_auth.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/gsheets/gsheets.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
args | ^2.2.0 | 2.3.1 | 2.3.1 |
collection | ^1.15.0 | 1.16.0 | 1.16.0 |
dcli | ^1.7.1 | 1.31.2 | 1.31.2 |
googleapis | ^4.0.0 | 4.0.0 | 9.1.0 |
googleapis_auth | ^1.1.0 | 1.3.1 | 1.3.1 |
http | ^0.13.3 | 0.13.4 | 0.13.4 |
io | ^1.0.0 | 1.0.3 | 1.0.3 |
path | ^1.8.0 | 1.8.2 | 1.8.2 |
recase | ^4.0.0 | 4.0.0 | 4.0.0 |
watcher | ^1.0.0 | 1.0.1 | 1.0.1 |
yaml | ^3.1.0 | 3.1.1 | 3.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_discoveryapis_commons | - | 1.0.3 | 1.0.3 |
archive | - | 3.3.0 | 3.3.0 |
async | - | 2.9.0 | 2.9.0 |
basic_utils | - | 3.9.4 | 4.2.2 |
chunked_stream | - | 1.4.1 | 1.4.1 |
circular_buffer | - | 0.10.0 | 0.11.0 |
convert | - | 3.0.2 | 3.0.2 |
crypto | - | 3.0.2 | 3.0.2 |
csv | - | 5.0.1 | 5.0.1 |
dart_console | - | 1.0.0 | 1.0.0 |
dcli_core | - | 1.31.2 | 1.31.2 |
equatable | - | 2.0.3 | 2.0.3 |
ffi | - | 1.2.1 | 2.0.0 |
file | - | 6.1.2 | 6.1.2 |
file_utils | - | 1.0.1 | 1.0.1 |
glob | - | 2.0.2 | 2.0.2 |
globbing | - | 1.0.0 | 1.0.0 |
http_parser | - | 4.0.1 | 4.0.1 |
ini | - | 2.1.0 | 2.1.0 |
js | - | 0.6.4 | 0.6.4 |
json_annotation | - | 4.5.0 | 4.5.0 |
logging | - | 1.0.2 | 1.0.2 |
matcher | - | 0.12.11 | 0.12.11 |
meta | - | 1.8.0 | 1.8.0 |
mime | - | 1.0.2 | 1.0.2 |
pointycastle | - | 3.6.0 | 3.6.0 |
posix | - | 3.1.0 | 3.1.0 |
pub_semver | - | 2.1.1 | 2.1.1 |
pubspec | - | 2.2.0 | 2.2.0 |
quiver | - | 3.1.0 | 3.1.0 |
random_string | - | 2.3.1 | 2.3.1 |
scope | - | 2.2.1 | 2.2.1 |
settings_yaml | - | 3.4.1 | 3.4.1 |
source_span | - | 1.9.0 | 1.9.0 |
stack_trace | - | 1.10.0 | 1.10.0 |
stacktrace_impl | - | 2.3.0 | 2.3.0 |
string_scanner | - | 1.1.1 | 1.1.1 |
system_info2 | - | 2.0.4 | 2.0.4 |
term_glyph | - | 1.2.0 | 1.2.0 |
typed_data | - | 1.3.1 | 1.3.1 |
uri | - | 1.0.0 | 1.0.0 |
uuid | - | 3.0.6 | 3.0.6 |
validators2 | - | 3.0.0 | 3.0.0 |
vin_decoder | - | 0.2.1-nullsafety | 0.2.1-nullsafety |
win32 | - | 2.6.1 | 2.7.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.0.0` on googleapis does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions googleapis
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Package and dependencies are fully migrated to null safety!
Analysed with Pana 0.21.12
, Dart 2.17.1
.