large Flutter Favorite logosmall Flutter Favorite logo

freezed 2.3.2 icon indicating copy to clipboard operation
freezed: ^2.3.2 copied to clipboard

Code generation for immutable classes that has a simple syntax/API without compromising on the features.

2519
likes
140/ 140
pub points
99%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 1 out of 2 API elements (50.0 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:freezed/builder.dart that imports:
  • package:freezed/src/freezed_generator.dart that imports:
  • package:freezed/src/templates/from_json_template.dart that imports:
  • package:freezed/src/templates/prototypes.dart that imports:
  • package:freezed/src/templates/parameter_template.dart that imports:
  • package:freezed/src/templates/properties.dart that imports:
  • package:freezed/src/templates/concrete_template.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform iOS

Because:

  • package:freezed/builder.dart that imports:
  • package:freezed/src/freezed_generator.dart that imports:
  • package:freezed/src/templates/from_json_template.dart that imports:
  • package:freezed/src/templates/prototypes.dart that imports:
  • package:freezed/src/templates/parameter_template.dart that imports:
  • package:freezed/src/templates/properties.dart that imports:
  • package:freezed/src/templates/concrete_template.dart that imports:
  • package:source_gen/source_gen.dart that imports:
  • package:source_gen/src/type_checker.dart that imports:
  • dart:mirrors
Package not compatible with platform Web

Because:

  • package:freezed/builder.dart that imports:
  • package:freezed/src/freezed_generator.dart that imports:
  • package:freezed/src/tools/recursive_import_locator.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/task/api/model.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/error/error.dart that imports:
  • package:analyzer/src/error/error_code_values.g.dart that imports:
  • package:analyzer/src/generated/parser.dart that imports:
  • package:analyzer/src/fasta/ast_builder.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
30 / 30icon to trigger folding of the section

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
analyzer^5.2.05.4.05.4.0
build^2.3.12.3.12.3.1
build_config^1.1.01.1.11.1.1
collection^1.15.01.17.11.17.1
freezed_annotation^2.2.02.2.02.2.0
json_annotation^4.6.04.8.04.8.0
meta^1.7.01.8.01.8.0
source_gen^1.2.31.2.61.2.6
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-52.0.052.0.0
args-2.3.22.3.2
async-2.10.02.10.0
checked_yaml-2.0.22.0.2
convert-3.1.13.1.1
crypto-3.0.23.0.2
dart_style-2.2.42.2.4
file-6.1.46.1.4
glob-2.1.12.1.1
logging-1.1.11.1.1
package_config-2.1.02.1.0
path-1.8.31.8.3
pub_semver-2.1.32.1.3
pubspec_parse-1.2.11.2.1
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
watcher-1.0.21.0.2
yaml-3.1.13.1.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Dart 2.19.0.

2519
likes
140
pub points
99%
popularity

Publisher

verified publisher icondash-overflow.net

Code generation for immutable classes that has a simple syntax/API without compromising on the features.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

analyzer, build, build_config, collection, freezed_annotation, json_annotation, meta, source_gen

More

Packages that depend on freezed