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
110/ 140
pub points
64%
popularity

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

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.

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
30 / 50trigger folding of the section

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

Found 5 issues. Showing the first 2:

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

lib/common_utils/common_utils.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
20 / 20trigger 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 0.5.6 0.5.6
collection any 1.18.0 1.18.0
country_flags ^2.1.0 2.2.0 2.2.0
custom_sliding_segmented_control any 1.8.1 1.8.1
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 11.0.0 11.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.0 3.1.0
map_launcher any 3.3.0 3.3.0
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.2.6 6.2.6
vector_math any 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.5.0 3.5.0
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.1.1 1.1.1
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.5.4 4.5.4
geolocator_apple - 2.3.7 2.3.7
geolocator_platform_interface - 4.2.2 4.2.2
geolocator_web - 3.0.0 3.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.0.2
jovial_misc - 0.8.5 0.8.5
jovial_svg - 1.1.20 1.1.20
js - 0.7.1 0.7.1
list_counter - 1.0.2 1.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.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.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
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.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
rxdart - 0.27.7 0.27.7
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 2.3.3
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.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.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.0 5.5.0
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.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.