string_editor 1.0.0-dev+2

  • README.md
  • Installing
  • Versions
  • 31

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]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
9
Overall:
Weighted score of the above. [more]
31
Learn more about scoring.

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

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: Flutter, web, other

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

Issues and suggestions

Maintain CHANGELOG.md.

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

Add SDK constraint in pubspec.yaml.

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

Package is getting outdated.

The package was released 97 weeks ago.

Package is pre-release.

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

Format lib/chars.dart.

Run dartfmt to format lib/chars.dart.

Fix lib/src/string_editor.dart.

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

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

Format lib/string_editor.dart.

Run dartfmt to format lib/string_editor.dart.

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