my_tdesign_flutter 0.0.3
my_tdesign_flutter: ^0.0.3 copied to clipboard
tdesign flutter component
We analyzed this package 6 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
Failed to verify repository URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: my_tdesign_flutter, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: my_tdesign_flutter.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1109 out of 1797 API elements (61.7 %) have documentation comments.
Some symbols that are missing documentation: tdesign_flutter, tdesign_flutter.BadgeConfig.BadgeConfig.new, tdesign_flutter.Chinese2Formatter.Chinese2Formatter.new, tdesign_flutter.Chinese2Formatter.maxLength, tdesign_flutter.DatePickerCallback.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:my_tdesign_flutter/tdesign_flutter.dartthat imports:package:my_tdesign_flutter/src/util/platform_util.dartthat imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 68 issues. Showing the first 2:
ERROR: 'TDSliderThemeData.copyWith' ('TDSliderThemeData Function({Color? activeTickMarkColor, Color? activeTrackColor, SliderInteraction? allowedInteraction, Color? disabledActiveTickMarkColor, Color? disabledActiveTrackColor, Color? disabledInactiveTickMarkColor, Color? disabledInactiveTrackColor, TextStyle? disabledScaleTextStyle, Color? disabledSecondaryActiveTrackColor, Color? disabledThumbColor, TextStyle? disabledThumbTextStyle, int? divisions, Color? inactiveTickMarkColor, Color? inactiveTrackColor, double? max, double? min, double? minThumbSeparation, WidgetStateProperty
lib/src/components/slider/td_slider_theme.dart:130:21
╷
130 │ TDSliderThemeData copyWith({
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/slider/td_slider_theme.dart
ERROR: The getter 'bodyText1' isn't defined for the type 'TextTheme'.
lib/src/components/tabs/td_horizontal_tab_bar.dart:47:40
╷
47 │ themeData.primaryTextTheme.bodyText1!)
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/components/tabs/td_horizontal_tab_bar.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.17.2 |
1.19.1 | 1.19.1 | |
flutter_easyrefresh |
^2.2.1 |
2.2.2 | 2.2.2 | Discontinued |
flutter_swiper_null_safety |
^1.0.2 |
1.0.2 | 1.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- flutter_easyrefresh.
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 4 errors:
INVALID_OVERRIDE-lib/src/components/slider/td_slider_theme.dart:130:21- 'TDSliderThemeData.copyWith' ('TDSliderThemeData Function({Color? activeTickMarkColor, Color? activeTrackColor, SliderInteraction? allowedInteraction, Color? disabledActiveTickMarkColor, Color? disabledActiveTrackColor, Color? disabledInactiveTickMarkColor, Color? disabledInactiveTrackColor, TextStyle? disabledScaleTextStyle, Color? disabledSecondaryActiveTrackColor, Color? disabledThumbColor, TextStyle? disabledThumbTextStyle, int? divisions, Color? inactiveTickMarkColor, Color? inactiveTrackColor, double? max, double? min, double? minThumbSeparation, WidgetStateProperty<MouseCursor?>? mouseCursor, Color? overlappingShapeStrokeColor, Color? overlayColor, SliderComponentShape? overlayShape, RangeSliderThumbShape? rangeThumbShape, RangeSliderTickMarkShape? rangeTickMarkShape, RangeSliderTrackShape? rangeTrackShape, RangeSliderValueIndicatorShape? rangeValueIndicatorShape, String Function(double)? scaleFormatter, TextStyle? scaleTextStyle, Color? secondaryActiveTrackColor, bool? showScaleValue, bool? showThumbValue, ShowValueIndicator? showValueIndicator, Color? thumbColor, Thumb? Function(TextDirection, RangeValues, double, Size, Size, double)? thumbSelector, SliderComponentShape? thumbShape, TextStyle? thumbTextStyle, SliderTickMarkShape? tickMarkShape, double? trackHeight, SliderTrackShape? trackShape, Color? valueIndicatorColor, SliderComponentShape? valueIndicatorShape, TextStyle? valueIndicatorTextStyle})') isn't a valid override of 'SliderThemeData.copyWith' ('SliderThemeData Function({Color? activeTickMarkColor, Color? activeTrackColor, SliderInteraction? allowedInteraction, Color? disabledActiveTickMarkColor, Color? disabledActiveTrackColor, Color? disabledInactiveTickMarkColor, Color? disabledInactiveTrackColor, Color? disabledSecondaryActiveTrackColor, Color? disabledThumbColor, Color? inactiveTickMarkColor, Color? inactiveTrackColor, double? minThumbSeparation, WidgetStateProperty<MouseCursor?>? mouseCursor, Color? overlappingShapeStrokeColor, Color? overlayColor, SliderComponentShape? overlayShape, EdgeInsetsGeometry? padding, RangeSliderThumbShape? rangeThumbShape, RangeSliderTickMarkShape? rangeTickMarkShape, RangeSliderTrackShape? rangeTrackShape, RangeSliderValueIndicatorShape? rangeValueIndicatorShape, Color? secondaryActiveTrackColor, ShowValueIndicator? showValueIndicator, Color? thumbColor, Thumb? Function(TextDirection, RangeValues, double, Size, Size, double)? thumbSelector, SliderComponentShape? thumbShape, WidgetStateProperty<Size?>? thumbSize, SliderTickMarkShape? tickMarkShape, double? trackGap, double? trackHeight, SliderTrackShape? trackShape, Color? valueIndicatorColor, SliderComponentShape? valueIndicatorShape, Color? valueIndicatorStrokeColor, TextStyle? valueIndicatorTextStyle, bool? year2023})').UNDEFINED_GETTER-lib/src/components/tabs/td_horizontal_tab_bar.dart:47:40- The getter 'bodyText1' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/src/components/tabs/td_horizontal_tab_bar.dart:52:40- The getter 'bodyText1' isn't defined for the type 'TextTheme'.
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.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.