strings 0.1.0

  • README.md
  • Installing
  • Versions
  • 81

strings

Version: 0.1.0

The 'strings' is a helper for the string transformations which can be useful in the code generators (such as 'camelize', 'escape', 'underscore' etc).

Currently supports the following methods:

  • camelize
  • capitalize
  • escape
  • isLowerCase
  • isUpperCase
  • join
  • printable
  • reverse
  • startsWithLowerCase
  • startsWithUpperCase
  • toUnicode
  • underscore

Other useful methods will be added soon...

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  strings: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:strings/strings.dart';
  
Version Uploaded Documentation Archive
0.1.0 Aug 29, 2018 Go to the documentation of strings 0.1.0 Download strings 0.1.0 archive
0.0.6 Sep 8, 2014 Go to the documentation of strings 0.0.6 Download strings 0.0.6 archive
0.0.5 Sep 2, 2014 Go to the documentation of strings 0.0.5 Download strings 0.0.5 archive
0.0.4 Aug 27, 2014 Go to the documentation of strings 0.0.4 Download strings 0.0.4 archive
0.0.3 Aug 26, 2014 Go to the documentation of strings 0.0.3 Download strings 0.0.3 archive
0.0.2 Aug 25, 2014 Go to the documentation of strings 0.0.2 Download strings 0.0.2 archive
0.0.1 Aug 24, 2014 Go to the documentation of strings 0.0.1 Download strings 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
75
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
70
Overall:
Weighted score of the above. [more]
81
Learn more about scoring.

We analyzed this package on Sep 18, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.3

Platforms

Detected platforms: Flutter, other

Primary library: package:strings/strings.dart with components: io.

Issues and suggestions

Maintain CHANGELOG.md.

Changelog entries help clients to follow the progress in your code.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use strings.dart.

Fix lib/src/strings.dart.

Analysis of lib/src/strings.dart reported 2 hints:

line 25 col 11: The top level variable '_VALID' isn't used.

line 511 col 16: The function '_generateBool' isn't used.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
lists ^0.0.23 0.0.23
unicode ^0.1.0 0.1.0
Dev dependencies
test ^1.3.0