string_editor 1.0.0-dev+2

  • README.md
  • Installing
  • Versions
  • 30

string_editor

Library for editing strings on a character-by-character basis.

Installation

dependencies:
  string_editor: ^1.0.0-dev

Use this package as a library

1. Depend on it

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


dependencies:
  string_editor: ^1.0.0-dev+2

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:string_editor/string_editor.dart';
  
Version Uploaded Documentation Archive
1.0.0-dev+2 Sep 23, 2016 Go to the documentation of string_editor 1.0.0-dev+2 Download string_editor 1.0.0-dev+2 archive
1.0.0-dev+1 Sep 23, 2016 Go to the documentation of string_editor 1.0.0-dev+1 Download string_editor 1.0.0-dev+1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
30
Learn more about scoring.

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

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:string_editor/string_editor.dart.

Health suggestions

Fix lib/src/string_editor.dart. (-0.50 points)

Analysis of lib/src/string_editor.dart reported 1 hint:

line 99 col 12: Always override hashCode if overriding ==.

Format lib/chars.dart.

Run dartfmt to format lib/chars.dart.

Format lib/string_editor.dart.

Run dartfmt to format lib/string_editor.dart.

Maintenance issues and suggestions

Package is too old. (-100 points)

The package was released more than two years ago.

Maintain CHANGELOG.md. (-20 points)

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

Add SDK constraint in pubspec.yaml. (-5 points)

For information about setting SDK constraint, please see https://www.dartlang.org/tools/pub/pubspec#sdk-constraints.

Package is pre-release. (-5 points)

Pre-release versions should be used with caution, their API may change in breaking ways.

Maintain an example.

None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use string_editor.dart.

Dependencies

Package Constraint Resolved Available
Dev dependencies
test >=0.12.15+6 <0.13.0