flutter_gb_ui_kit 2.16.0 copy "flutter_gb_ui_kit: ^2.16.0" to clipboard
flutter_gb_ui_kit: ^2.16.0 copied to clipboard

A UI utility package for Geekbears, it contains some useful UI widgets

90/ 160
pub points
1.08k
downloads

We analyzed this package 13 hours ago, and awarded it 90 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

444 out of 1107 API elements (40.1 %) have documentation comments.

Some symbols that are missing documentation: account_code_confirmation_template, account_code_confirmation_template.AccountCodeConfirmationTemplate, account_code_confirmation_template.AccountCodeConfirmationTemplate.AccountCodeConfirmationTemplate.new, account_code_confirmation_template.AccountCodeConfirmationTemplate.canSubmit, account_code_confirmation_template.AccountCodeConfirmationTemplate.centerCodeField.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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.

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 71 issues. Showing the first 2:

ERROR: 'GBInputDecorationTheme.copyWith' ('GBInputDecorationTheme Function({BorderSide? activeIndicatorBorder, bool? alignLabelWithHint, InputBorder? border, BoxConstraints? constraints, EdgeInsetsGeometry? contentPadding, TextStyle? counterStyle, InputBorder? disabledBorder, Color? disabledFillColor, InputBorder? enabledBorder, InputBorder? errorBorder, Color? errorFilledColor, int? errorMaxLines, TextStyle? errorStyle, Color? fillColor, bool? filled, FloatingLabelAlignment? floatingLabelAlignment, FloatingLabelBehavior? floatingLabelBehavior, TextStyle? floatingLabelStyle, Color? focusColor, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, int? helperMaxLines, TextStyle? helperStyle, Duration? hintFadeDuration, TextStyle? hintStyle, Color? hoverColor, Color? iconColor, bool? isCollapsed, bool? isDense, TextStyle? labelStyle, BorderSide? outlineBorder, Color? prefixIconColor, BoxConstraints? prefixIconConstraints, TextStyle? prefixStyle, Color? suffixIconColor, BoxConstraints? suffixIconConstraints, TextStyle? suffixStyle})') isn't a valid override of 'InputDecorationTheme.copyWith' ('InputDecorationTheme Function({BorderSide? activeIndicatorBorder, bool? alignLabelWithHint, InputBorder? border, BoxConstraints? constraints, EdgeInsetsGeometry? contentPadding, TextStyle? counterStyle, InputBorder? disabledBorder, InputBorder? enabledBorder, InputBorder? errorBorder, int? errorMaxLines, TextStyle? errorStyle, Color? fillColor, bool? filled, FloatingLabelAlignment? floatingLabelAlignment, FloatingLabelBehavior? floatingLabelBehavior, TextStyle? floatingLabelStyle, Color? focusColor, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, int? helperMaxLines, TextStyle? helperStyle, Duration? hintFadeDuration, int? hintMaxLines, TextStyle? hintStyle, Color? hoverColor, Color? iconColor, bool? isCollapsed, bool? isDense, TextStyle? labelStyle, BorderSide? outlineBorder, Color? prefixIconColor, BoxConstraints? prefixIconConstraints, TextStyle? prefixStyle, Color? suffixIconColor, BoxConstraints? suffixIconConstraints, TextStyle? suffixStyle, VisualDensity? visualDensity})').

lib/presentation/theme/gb_input_decoration_theme.dart:63:26

   ╷
63 │   GBInputDecorationTheme copyWith({
   │                          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/theme/gb_input_decoration_theme.dart

ERROR: 'GBThemeData.inputDecorationTheme' ('GBInputDecorationTheme Function()') isn't a valid override of 'ThemeData.inputDecorationTheme' ('InputDecorationThemeData Function()').

lib/presentation/theme/gb_theme_data.dart:29:32

   ╷
29 │   final GBInputDecorationTheme inputDecorationTheme;
   │                                ^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/presentation/theme/gb_theme_data.dart

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

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

Package Constraint Compatible Latest Notes
animated_bottom_navigation_bar ^1.2.0 1.4.0 1.4.0
collection ^1.17.0 1.19.1 1.19.1
flutter_colorpicker ^1.0.3 1.1.0 1.1.0
intl ^0.20.0 0.20.2 0.20.2
sliver_tools ^0.2.12 0.2.12 0.2.12
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.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
vector_math - 2.2.0 2.2.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 7 errors:

  • INVALID_OVERRIDE - lib/presentation/theme/gb_input_decoration_theme.dart:63:26 - 'GBInputDecorationTheme.copyWith' ('GBInputDecorationTheme Function({BorderSide? activeIndicatorBorder, bool? alignLabelWithHint, InputBorder? border, BoxConstraints? constraints, EdgeInsetsGeometry? contentPadding, TextStyle? counterStyle, InputBorder? disabledBorder, Color? disabledFillColor, InputBorder? enabledBorder, InputBorder? errorBorder, Color? errorFilledColor, int? errorMaxLines, TextStyle? errorStyle, Color? fillColor, bool? filled, FloatingLabelAlignment? floatingLabelAlignment, FloatingLabelBehavior? floatingLabelBehavior, TextStyle? floatingLabelStyle, Color? focusColor, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, int? helperMaxLines, TextStyle? helperStyle, Duration? hintFadeDuration, TextStyle? hintStyle, Color? hoverColor, Color? iconColor, bool? isCollapsed, bool? isDense, TextStyle? labelStyle, BorderSide? outlineBorder, Color? prefixIconColor, BoxConstraints? prefixIconConstraints, TextStyle? prefixStyle, Color? suffixIconColor, BoxConstraints? suffixIconConstraints, TextStyle? suffixStyle})') isn't a valid override of 'InputDecorationTheme.copyWith' ('InputDecorationTheme Function({BorderSide? activeIndicatorBorder, bool? alignLabelWithHint, InputBorder? border, BoxConstraints? constraints, EdgeInsetsGeometry? contentPadding, TextStyle? counterStyle, InputBorder? disabledBorder, InputBorder? enabledBorder, InputBorder? errorBorder, int? errorMaxLines, TextStyle? errorStyle, Color? fillColor, bool? filled, FloatingLabelAlignment? floatingLabelAlignment, FloatingLabelBehavior? floatingLabelBehavior, TextStyle? floatingLabelStyle, Color? focusColor, InputBorder? focusedBorder, InputBorder? focusedErrorBorder, int? helperMaxLines, TextStyle? helperStyle, Duration? hintFadeDuration, int? hintMaxLines, TextStyle? hintStyle, Color? hoverColor, Color? iconColor, bool? isCollapsed, bool? isDense, TextStyle? labelStyle, BorderSide? outlineBorder, Color? prefixIconColor, BoxConstraints? prefixIconConstraints, TextStyle? prefixStyle, Color? suffixIconColor, BoxConstraints? suffixIconConstraints, TextStyle? suffixStyle, VisualDensity? visualDensity})').
  • INVALID_OVERRIDE - lib/presentation/theme/gb_theme_data.dart:29:32 - 'GBThemeData.inputDecorationTheme' ('GBInputDecorationTheme Function()') isn't a valid override of 'ThemeData.inputDecorationTheme' ('InputDecorationThemeData Function()').
  • MISSING_REQUIRED_ARGUMENT - lib/presentation/theme/gb_theme_data.dart:365:8 - The named parameter 'carouselViewTheme' is required, but there's no corresponding argument.

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.

Weekly downloads

Display as:
By versions:
1
likes
90
points
1.08k
downloads

Publisher

verified publishergeekbears.com

Weekly Downloads

A UI utility package for Geekbears, it contains some useful UI widgets

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

animated_bottom_navigation_bar, collection, flutter, flutter_colorpicker, flutter_localizations, intl, sliver_tools

More

Packages that depend on flutter_gb_ui_kit