dui 0.0.97 copy "dui: ^0.0.97" to clipboard
dui: ^0.0.97 copied to clipboard

DUI is a flutter package that provides a set of widgets to help you build your app faster.

1
likes
110/ 160
pub points
63%
popularity

We analyzed this package 2 hours ago, and awarded it 110 pub points (of a possible 160):

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

15 out of 383 API elements (3.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: alert, alert.Alert, alert.Alert.Alert, alert.Alert.showAlert, alert.Alert.showAlertYesNo.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:dui/dui.dart that imports:
  • package:dui/core/text.dart that imports:
  • package:dui/common_utils/common_utils.dart that imports:
  • package:map_launcher/map_launcher.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:dui/dui.dart that imports:
  • package:dui/core/text.dart that imports:
  • package:dui/common_utils/common_utils.dart that imports:
  • package:map_launcher/map_launcher.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:dui/dui.dart that imports:
  • package:dui/core/text.dart that imports:
  • package:dui/common_utils/common_utils.dart that imports:
  • package:map_launcher/map_launcher.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:dui/dui.dart that imports:
  • package:dui/core/text.dart that imports:
  • package:dui/common_utils/common_utils.dart that imports:
  • package:map_launcher/map_launcher.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dui/dui.dart that imports:
  • package:dui/core/text.dart that imports:
  • package:dui/common_utils/common_utils.dart that imports:
  • package:map_launcher/map_launcher.dart that imports:
  • package:map_launcher/src/models.dart that imports:
  • package:map_launcher/src/map_launcher.dart that imports:
  • package:map_launcher/src/marker_url.dart that imports:
  • dart:io

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 36 issues. Showing the first 2:

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/common_utils/alert.dart:66:63

   ╷
66 │               surfaceTintColor: Theme.of(context).colorScheme.background,
   │                                                               ^^^^^^^^^^
   ╵

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

INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.

lib/common_utils/alert.dart:186:61

    ╷
186 │             surfaceTintColor: Theme.of(context).colorScheme.background,
    │                                                             ^^^^^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
auto_size_text any 3.0.0 3.0.0
cached_network_image any 3.4.1 3.4.1
calendar_date_picker2 any 1.1.7 1.1.7
collection any 1.18.0 1.19.1
country_flags ^2.1.0 2.2.0 3.0.0
custom_sliding_segmented_control any 1.8.4 1.8.4
dotted_line any 3.2.3 3.2.3
flutter flutter 0.0.0 0.0.0
flutter_html any 3.0.0-beta.2 3.0.0-beta.2
flutter_slidable any 3.1.1 3.1.1
flutter_svg ^2.0.7 2.0.14 2.0.14
geolocator any 13.0.1 13.0.1
intl any 0.19.0 0.20.0
latlng >=1.0.4 2.0.7 2.0.7
loading_animation_widget any 1.3.0 1.3.0
lottie any 3.1.3 3.1.3
map_launcher any 3.5.0 3.5.0
palette_generator any 0.3.3+5 0.3.3+5
shimmer any 3.0.0 3.0.0
smooth_corner any 1.1.0 1.1.0
soundpool any 2.4.1 2.4.1
substring_highlight any 1.0.33 1.0.33
url_launcher any 6.3.1 6.3.1
vector_math any 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csslib - 0.17.3 1.0.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 4.6.1 4.6.1
geolocator_apple - 2.3.8 2.3.8
geolocator_platform_interface - 4.2.4 4.2.4
geolocator_web - 4.1.1 4.1.1
geolocator_windows - 0.2.3 0.2.3
html - 0.15.4 0.15.5
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
jovial_misc - 0.8.5 0.8.5
jovial_svg - 1.1.23 1.1.23
js - 0.7.1 0.7.1
list_counter - 1.0.2 1.0.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
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.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
rxdart - 0.28.0 0.28.0
sky_engine - 0.0.99 0.0.99
soundpool_macos - 2.3.0 2.3.0
soundpool_platform_interface - 2.2.0 2.2.0
soundpool_web - 2.3.0 2.3.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_graphics - 1.1.14 1.1.14
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.15 1.1.15
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^2.1.0` on country_flags does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions country_flags 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 71 errors:

  • URI_DOES_NOT_EXIST - lib/common_utils/common_utils.dart:9:8 - Target of URI doesn't exist: 'package:url_launcher/url_launcher_string.dart'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/common_utils/common_utils.dart:248:30 - The argument type 'Angle' can't be assigned to the parameter type 'double'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/common_utils/common_utils.dart:248:60 - The argument type 'Angle' can't be assigned to the parameter type 'double'.

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.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.