tch_common_widgets 0.36.0 copy "tch_common_widgets: ^0.36.0" to clipboard
tch_common_widgets: ^0.36.0 copied to clipboard

Flutter common widgets & theming package used by tomaschyly.

5
likes
150/ 160
pub points
54%
popularity

We analyzed this package 1 hour ago, and awarded it 150 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

117 out of 504 API elements (23.2 %) have documentation comments.

Some symbols that are missing documentation: tch_common_widgets, tch_common_widgets.ButtonVariant, tch_common_widgets.ButtonVariant.ButtonVariant, tch_common_widgets.ButtonWidget, tch_common_widgets.ButtonWidget.ignoreInteractionsWhenLoading.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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 `Windows`.

Because:

  • package:tch_common_widgets/tch_common_widgets.dart that imports:
  • package:tch_common_widgets/src/ui/widgets/tooltip_widget.dart that imports:
  • package:tch_appliable_core/tch_appliable_core.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/list_data_widget.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/abstract_data_widget.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/main_data_source.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/data_request.dart that imports:
  • package:tch_appliable_core/src/providers/main_data_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:tch_common_widgets/tch_common_widgets.dart that imports:
  • package:tch_common_widgets/src/ui/widgets/tooltip_widget.dart that imports:
  • package:tch_appliable_core/tch_appliable_core.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/list_data_widget.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/abstract_data_widget.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/main_data_source.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/data_request.dart that imports:
  • package:tch_appliable_core/src/providers/main_data_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:tch_common_widgets/tch_common_widgets.dart that imports:
  • package:tch_common_widgets/src/ui/widgets/tooltip_widget.dart that imports:
  • package:tch_appliable_core/tch_appliable_core.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/list_data_widget.dart that imports:
  • package:tch_appliable_core/src/ui/widgets/abstract_data_widget.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/main_data_source.dart that imports:
  • package:tch_appliable_core/src/providers/mainDataProvider/data_request.dart that imports:
  • package:tch_appliable_core/src/providers/main_data_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

INFO: 'color' is deprecated and shouldn't be used.

lib/src/ui/buttons/button_widget.dart:152:13

    ╷
152 │             color: iconColor,
    │             ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/buttons/button_widget.dart

INFO: 'color' is deprecated and shouldn't be used.

lib/src/ui/buttons/button_widget.dart:157:13

    ╷
157 │             color: iconColor,
    │             ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ui/buttons/button_widget.dart

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_svg ^2.0.9 2.0.10+1 2.0.10+1
flutter_web_plugins flutter 0.0.0 0.0.0
intl ^0.19.0 0.19.0 0.19.0
jiffy ^6.2.2 6.3.1 6.3.1
tch_appliable_core ^0.33.0 0.33.0 0.33.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
dio - 5.4.3+1 5.4.3+1
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_hooks - 0.20.5 0.20.5
flutter_localizations - 0.0.0 0.0.0
html_unescape - 2.0.0 2.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.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.5 2.2.5
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
pull_to_refresh - 2.0.0 2.0.0
sembast - 3.7.1+2 3.7.1+2
shared_preferences - 2.2.3 2.2.3
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
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
supercharged - 2.1.1 2.1.1
supercharged_dart - 2.1.1 2.1.1
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
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
vector_math - 2.1.4 2.1.4
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.

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.5, Flutter 3.22.1, Dart 3.4.1.

Check the analysis log for details.