canton_ui 1.0.9
canton_ui: ^1.0.9 copied to clipboard
UI Package for developing UI faster and more efficiently in Flutter
We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
10755 out of 17111 API elements (62.9 %) have documentation comments.
Some symbols that are missing documentation: canton_ui, canton_ui.ActivateAction.ActivateAction.new, canton_ui.AnimatedGridState.AnimatedGridState.new, canton_ui.AnimatedListState.AnimatedListState.new, canton_ui.AnimatedWidgetBaseState.AnimatedWidgetBaseState.new.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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 61 issues. Showing the first 2:
ERROR: The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.
lib/config/themes/dark_theme/dark_theme.dart:97:16
╷
97 │ cardTheme: CardTheme(
│ ┌────────────────^
98 │ │ margin: EdgeInsets.zero,
99 │ │ shape: RoundedRectangleBorder(
100 │ │ borderRadius: BorderRadius.circular(kDefaultBorderRadius),
101 │ │ ),
102 │ │ elevation: 0.0,
103 │ │ color: CantonDarkColors.colorScheme.secondary,
104 │ │ ),
│ └─────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/config/themes/dark_theme/dark_theme.dart
ERROR: The getter 'headline4' isn't defined for the type 'TextTheme'.
lib/config/themes/dark_theme/dark_theme.dart:120:51
╷
120 │ titleTextStyle: MobileTextTheme.theme(base).headline4,
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/config/themes/dark_theme/dark_theme.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cupertino_icons |
^1.0.3 |
1.0.8 | 1.0.8 | |
figma_squircle |
^0.5.2 |
0.5.3 | 0.6.3 | |
flutter_feather_icons |
^2.0.0+1 |
2.0.0+1 | 2.0.0+1 | |
flutter_riverpod |
^1.0.3 |
1.0.4 | 3.0.3 | |
flutter_slidable |
^2.0.0 |
2.0.0 | 4.0.3 | |
flutter_spinkit |
^5.0.0 |
5.2.2 | 5.2.2 | |
flutter_svg |
^1.1.3 |
1.1.6 | 2.2.1 | |
font_awesome_flutter |
^10.1.0 |
10.12.0 | 10.12.0 | |
iconsax |
^0.0.8 |
0.0.8 | 0.0.8 | |
liquid_pull_to_refresh |
^3.0.0 |
3.0.1 | 3.0.1 | |
ms_undraw |
^3.0.1+1 |
3.2.0 | 4.1.1 | |
page_transition |
^2.0.4 |
2.2.1 | 2.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
http |
- | 0.13.6 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_drawing |
- | 1.0.1 | 1.0.1 | |
path_parsing |
- | 1.1.0 | 1.1.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
riverpod |
- | 1.0.3 | 3.0.3 | |
source_span |
- | 1.10.1 | 1.10.1 | |
state_notifier |
- | 0.7.2+1 | 1.0.0 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 5 issues. Showing the first 2:
The constraint `^0.5.2` on figma_squircle does not support the stable version `0.6.0`.
Try running dart pub upgrade --major-versions figma_squircle to update the constraint.
The constraint `^1.0.3` on flutter_riverpod does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_riverpod 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 44 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/config/themes/dark_theme/dark_theme.dart:97:16- The argument type 'CardTheme' can't be assigned to the parameter type 'CardThemeData?'.UNDEFINED_GETTER-lib/config/themes/dark_theme/dark_theme.dart:120:51- The getter 'headline4' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER-lib/config/themes/dark_theme/dark_theme.dart:121:53- The getter 'headline5' 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.23.0, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.