strcolor 1.1.1

Flutter Android iOS web

Flutter package to convert color names to Color in Flutter. Offers a handful way to use colors by their names instead of using Colors constants.

25
likes
100 / 110
pub points
9 %
popularity

We analyzed this package on Oct 15, 2020, and awarded it 100 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
Unhandled exception:
NoSuchMethodError: The getter 'documentationComment' was called on null.
Receiver: null
Tried calling: documentationComment
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      Accessor.computeDocumentationComment (package:dartdoc/src/model/accessor.dart:67:44)
#2      DocumentationComment.documentationComment (package:dartdoc/src/model/documentation_comment.dart:39:31)
#3      DocumentationComment.hasNodoc (package:dartdoc/src/model/documentation_comment.dart:51:9)
#4      ModelElement.isPublic (package:dartdoc/src/model/model_element.dart:475:54)
#5      GetterSetterCombo.hasPublicGetter (package:dartdoc/src/model/getter_setter_combo.dart:97:51)
#6      GetterSetterCombo.isPublic (package:dartdoc/src/model/getter_setter_combo.dart:102:24)
#7      ModelElement.isCanonical (package:dartdoc/src/model/model_element.dart:781:10)
#8      PackageGraph.precacheLocalDocs.<anonymous closure> (package:dartdoc/src/model/package_graph.dart:131:49)
#9      _SyncIterator.moveNext (dart:core-patch/core_patch.dart:165:25)
#10     Future.wait (dart:async/future.dart:406:26)
#11     PackageGraph.initializePackageGraph (package:dartdoc/src/model/package_graph.dart:74:18)
#12     PubPackageBuilder.buildPackageGraph (package:dartdoc/src/model/package_builder.dart:77:20)
<asynchronous suspension>
#13     Dartdoc.generateDocsBase (package:dartdoc/dartdoc.dart:182:41)
#14     Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:223:34)
#15     main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#16     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#17     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.3
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3

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

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

25
likes
100
pub points
9%
popularity

Flutter package to convert color names to Color in Flutter. Offers a handful way to use colors by their names instead of using Colors constants.

Repository (GitHub)
View/report issues

Uploader

brworkit@gmail.com

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on strcolor