fair 4.0.0
fair: ^4.0.0 copied to clipboard
Flutter Fair is a package used to update widget dynamically.
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
85 out of 296 API elements (28.7 %) have documentation comments.
Some symbols that are missing documentation: fair
, fair.$BindingImpl
, fair.$BindingImpl.provider
, fair.Binding
, fair.Binding.Binding.new
.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:fair/fair.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:fair/fair.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:fair/fair.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:fair/fair.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:fair/fair.dart
that imports:package:fair/src/type.dart
that imports:package:fair/src/public_type.dart
that imports:package:fair/src/widget.dart
that imports:package:fair/src/runtime/fair_runtime_impl.dart
that imports:package:fair/src/runtime/fair_message_channel.dart
that imports:package:fair_version/fair_version.dart
that imports:package:fair_version/src/fair_utf8.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf16.dart
that imports:dart:ffi
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/fair/Package.swift
.
This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 155 issues. Showing the first 2:
WARNING: Duplicate export.
lib/fair.dart:29:8
╷
29 │ export 'src/render/domain.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fair.dart
WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: FairApp.dynamicWidgetBuilder
lib/src/app.dart:40:7
╷
40 │ class FairApp extends InheritedWidget with AppState {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/app.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
fair_annotation |
^2.3.0 |
2.3.0 | 2.3.0 | |
fair_version |
^3.13.0 |
3.13.0 | 3.13.0 | |
ffi |
^1.1.2 |
1.2.1 | 2.1.4 | |
flat_buffers |
^2.0.5 |
2.0.5 | 23.5.26 | |
http |
^0.13.3 |
0.13.6 | 1.4.0 | |
url_launcher |
^6.0.10 |
6.3.1 | 6.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
to update the constraint.
The constraint `^2.0.5` on flat_buffers does not support the stable version `23.5.26`.
Try running dart pub upgrade --major-versions flat_buffers
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Flutter 3.29.3
, Dart 3.7.2
.
Check the analysis log for details.