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

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

1
likes
80/ 160
pub points
67%
popularity

We analyzed this package 9 hours ago, and awarded it 80 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 384 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

OK
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.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 32 issues. Showing the first 2:

ERROR: The argument type 'DatePickerMode' can't be assigned to the parameter type 'CalendarDatePicker2Mode?'.

lib/core/picker.dart:58:33

   ╷
58 │               calendarViewMode: DatePickerMode.day,
   │                                 ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/picker.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: CustomButton.text, CustomButton.onPressed, CustomButton.icon, CustomButton.leading, CustomButton.trailing, CustomButton.content, CustomButton.color, CustomButton.textColor, CustomButton.loading, CustomButton.small, CustomButton.expanded, CustomButton.outlined, CustomButton.bgColor, CustomButton.enableGlass, CustomButton.glassTintColor, CustomButton.glassDensityMultiplier, CustomButton.glassBlur, CustomButton.borderRadius

lib/core/external/button.dart:7:7

  ╷
7 │ class CustomButton extends StatefulWidget {
  │       ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/external/button.dart

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

10/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.3.1 3.3.1
calendar_date_picker2 any 1.1.2 1.1.2
collection any 1.18.0 1.19.0
country_flags ^2.1.0 2.2.0 3.0.0
custom_sliding_segmented_control any 1.8.3 1.8.3
dotted_line any 3.2.2 3.2.2
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.0 3.1.0
flutter_svg ^2.0.7 2.0.10+1 2.0.10+1
flutter_vibrate any 1.3.0 1.3.0
geolocator any 12.0.0 12.0.0
intl any 0.19.0 0.19.0
latlng >=1.0.4 2.0.7 2.0.7
loading_animation_widget any 1.2.1 1.2.1
lottie any 3.1.2 3.1.2
map_launcher any 3.3.1 3.3.1
palette_generator any 0.3.3+3 0.3.3+3
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.0 6.3.0
vector_math any 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
csslib - 0.17.3 1.0.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.2 3.3.2
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 4.6.0 4.6.0
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.4 4.2.4
geolocator_web - 4.0.0 4.0.0
geolocator_windows - 0.2.3 0.2.3
html - 0.15.4 0.15.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.1.0
jovial_misc - 0.8.5 0.8.5
jovial_svg - 1.1.21 1.1.21
js - 0.7.1 0.7.1
list_counter - 1.0.2 1.0.2
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_parsing - 1.0.1 1.0.1
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.6 2.2.6
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
petitparser - 6.0.2 6.0.2
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
rxdart - 0.27.7 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.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.3 6.3.3
url_launcher_ios - 6.3.0 6.3.0
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.4.0 4.4.0
vector_graphics - 1.1.11+1 1.1.11+1
vector_graphics_codec - 1.1.11+1 1.1.11+1
vector_graphics_compiler - 1.1.11+1 1.1.11+1
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4
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`, that was published 2 days ago.

When country_flags is 30 days old, this package will no longer be awarded points in this category.

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 68 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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.