df_screen 0.8.12
df_screen: ^0.8.12 copied to clipboard
A package that provides a useful screen widget and controller for Flutter apps.
We analyzed this package 8 days ago, and awarded it 80 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Funding URL doesn't exist.
At the time of the analysis https://www.buymeacoffee.com/dev_cetera was unreachable. Make sure that the website is reachable via HEAD requests.
Funding URL doesn't exist.
At the time of the analysis https://www.patreon.com/c/robelator was unreachable. Make sure that the website is reachable via HEAD requests.
Funding URL doesn't exist.
At the time of the analysis https://www.patreon.com/c/robelator was unreachable. Make sure that the website is reachable via HEAD requests.
Funding URL doesn't exist.
At the time of the analysis https://www.buymeacoffee.com/dev_cetera was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: 20% or more of the public API has dartdoc comments
2033 out of 3166 API elements (64.2 %) have documentation comments.
Some symbols that are missing documentation: df_screen.AdaptiveLayoutBuilder.AdaptiveLayoutBuilder.new, df_screen.AdaptiveLayoutBuilder.bottomSideBuilder, df_screen.AdaptiveLayoutBuilder.foregroundBuilder, df_screen.AdaptiveLayoutBuilder.horizontalMobileBodyBuilder, df_screen.AdaptiveLayoutBuilder.horizontalMobileLayoutBuilder.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:df_screen/df_screen.dartthat imports:package:df_screen/src/_src.g.dartthat imports:package:df_screen/src/screen_states/adaptive_screen_state/mixins/mobile_frame_wide_layout_screen_mixin.dartthat imports:package:df_screen/src/_utils/_utils.g.dartthat imports:package:df_screen/src/_utils/current_platform.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:df_screen/df_screen.dartthat imports:package:df_screen/src/_src.g.dartthat imports:package:df_screen/src/screen_states/adaptive_screen_state/mixins/mobile_frame_wide_layout_screen_mixin.dartthat imports:package:df_screen/src/_utils/_utils.g.dartthat imports:package:df_screen/src/_utils/current_platform.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:df_screen/df_screen.dartthat imports:package:df_screen/src/_src.g.dartthat imports:package:df_screen/src/screen_states/adaptive_screen_state/mixins/mobile_frame_wide_layout_screen_mixin.dartthat imports:package:df_screen/src/_utils/_utils.g.dartthat imports:package:df_screen/src/_utils/current_platform.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:df_screen/df_screen.dartthat imports:package:df_screen/src/_src.g.dartthat imports:package:df_screen/src/screen_states/adaptive_screen_state/mixins/mobile_frame_wide_layout_screen_mixin.dartthat imports:package:df_screen/src/_utils/_utils.g.dartthat imports:package:df_screen/src/_utils/current_platform.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package not compatible with platform Web
Because:
package:df_screen/df_screen.dartthat imports:package:df_screen/src/_src.g.dartthat imports:package:df_screen/src/screen_states/adaptive_screen_state/mixins/mobile_frame_wide_layout_screen_mixin.dartthat imports:package:df_screen/src/_utils/_utils.g.dartthat imports:package:df_screen/src/_utils/current_platform.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
ERROR: The argument type 'AnimatedBuilder' can't be assigned to the parameter type 'Row'.
lib/src/screen_states/adaptive_screen_state/adaptive_screen_state.dart:234:13
╷
234 │ ┌ AnimatedBuilder(
235 │ │ animation: bodyScrollController,
236 │ │ builder: (context, child) {
237 │ │ var scrollY = 0.0;
238 │ │ var scrollX = 0.0;
239 │ │
240 │ │ if (bodyScrollController.hasClients) {
241 │ │ try {
242 │ │ if (bodyScrollController.position.axis == Axis.vertical) {
243 │ │ scrollY = bodyScrollController.offset;
244 │ │ } else {
245 │ │ scrollX = bodyScrollController.offset;
246 │ │ }
247 │ │ } catch (_) {}
│ └────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/screen_states/adaptive_screen_state/adaptive_screen_state.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
device_info_plus |
^11.5.0 |
11.5.0 | 12.3.0 | |
df_collection |
^0.9.8 |
0.9.8 | 0.9.8 | |
df_config |
^0.7.5 |
0.7.5 | 0.7.5 | |
df_debouncer |
^0.4.16 |
0.4.16 | 0.4.16 | |
df_di |
^0.15.8 |
0.15.8 | 0.15.8 | |
df_generate_dart_models_core |
^0.9.23 |
0.9.23 | 0.9.23 | |
df_log |
^0.3.30 |
0.3.30 | 0.3.30 | |
df_pod |
^0.18.13 |
0.18.13 | 0.18.13 | |
df_router |
^0.5.4 |
0.5.4 | 0.5.4 | |
df_scalable |
^0.9.6 |
0.9.6 | 0.9.6 | |
df_screen_core |
^0.5.5 |
0.5.5 | 0.5.5 | |
df_type |
^0.14.2 |
0.14.2 | 0.14.2 | |
meta |
^1.16.0 |
1.17.0 | 1.17.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 85.0.0 | 92.0.0 | |
analyzer |
- | 7.7.1 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 2.5.4 | 4.0.3 | |
build_config |
- | 1.1.2 | 1.2.0 | |
build_daemon |
- | 4.1.1 | 4.1.1 | |
build_resolvers |
- | 2.5.4 | 3.0.4 | Discontinued |
build_runner |
- | 2.5.4 | 2.10.4 | |
build_runner_core |
- | 9.1.2 | 9.3.2 | Discontinued |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.1 | 8.12.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
checked_yaml |
- | 2.0.4 | 2.0.4 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
dart_style |
- | 3.1.1 | 3.1.3 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
df_gen_core |
- | 0.7.1 | 0.7.1 | |
df_pwa_utils |
- | 0.3.5 | 0.3.5 | |
df_safer_dart |
- | 0.17.8 | 0.17.8 | |
df_safer_dart_annotations |
- | 0.2.0 | 0.2.0 | |
df_string |
- | 0.2.10 | 0.2.10 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
frontend_server_client |
- | 4.0.0 | 4.0.0 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http |
- | 1.6.0 | 1.6.0 | |
http_multi_server |
- | 3.2.2 | 3.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
io |
- | 1.0.5 | 1.0.5 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pool |
- | 1.5.2 | 1.5.2 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
pubspec_parse |
- | 1.5.0 | 1.5.0 | |
shared_preferences |
- | 2.5.4 | 2.5.4 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_web_socket |
- | 3.0.0 | 3.0.0 | |
source_gen |
- | 2.0.0 | 4.1.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.8 | 0.7.8 | |
timing |
- | 1.0.2 | 1.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.2.0 | 1.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.1.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^11.5.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/screen_states/adaptive_screen_state/adaptive_screen_state.dart:234:13- The argument type 'AnimatedBuilder' can't be assigned to the parameter type 'Row'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.