Viewing version 0.4.0. Open the latest package page.

characters

0.4.0

String replacement with operations that are Unicode/grapheme cluster aware.

Download archive

Readme

Build Status

NOTE: This package is considered experimental, and breaking API changes are to be expected.

Characters are strings viewed as sequences of user-perceived characters, also know as Unicode (extended) grapheme clusters.

The Characters class allows access to the individual characters of a string, and a way to navigate back and forth between them using a CharacterRange.

Changelog

Changelog

0.4.0

  • Added an extension method on String to allow easy access to the Characters of the string:

    print('The first character is: ' + myString.characters.first)
    
  • Updated Dart SDK dependency to Dart 2.6.0

0.3.1

  • Added small example in example/main.dart
  • Enabled pedantic lints and updated code to resolve issues.

0.3.0

  • Updated API which does not expose the underlying string indices.

0.1.0

  • Initial release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'characters:0.4.0'
pubspec.yaml
name: characters
version: 0.4.0
description: String replacement with operations that are Unicode/grapheme cluster aware.
homepage: https://www.github.com/dart-lang/characters

environment:
  sdk: ">=2.6.0 <3.0.0"
dev_dependencies:
  test: "^1.6.0"
  pedantic:

Version history

VersionPublishedArchiveSHA-256
0.3.0Cached · Upstream SHA-256 matchedDownload6c10f161…426667
0.3.1Cached · Upstream SHA-256 matchedDownloadfdb489af…762972
0.4.0Cached · Upstream SHA-256 matchedDownloade1e28342…7177f2
0.5.0Cached · Upstream SHA-256 matchedDownload3f95b545…524863
1.0.0Cached · Upstream SHA-256 matchedDownload8df5ffb5…8f5077
1.1.0-nullsafetyCached · Upstream SHA-256 matchedDownload44dadb83…07d0ba
1.1.0-nullsafety.1Cached · Upstream SHA-256 matchedDownloadd4c5e8e8…a278ac
1.1.0-nullsafety.2Cached · Upstream SHA-256 matchedDownload0732c770…8adf16
1.1.0-nullsafety.3Cached · Upstream SHA-256 matchedDownload43012c25…8cb4a7
1.1.0-nullsafety.4Cached · Upstream SHA-256 matchedDownloadd97fe005…8f2933
1.1.0-nullsafety.5Cached · Upstream SHA-256 matchedDownload1bfe74de…76cdd6
1.1.0Cached · Upstream SHA-256 matchedDownload9a462645…e04bb7
1.2.0Cached · Upstream SHA-256 matchedDownloadd5be1994…6b65cc
1.2.1Cached · Upstream SHA-256 matchedDownloade6a326c8…67975c
1.3.0Cached · Upstream SHA-256 matchedDownload04a92576…69a605
1.3.1Cached · Upstream SHA-256 matchedDownload81269c8d…94e1c1
1.4.0Cached · Upstream SHA-256 matchedDownloadf71061c6…670803
1.4.1Cached · Upstream SHA-256 matchedDownloadfaf38497…b5716b

Dependencies

No direct dependencies declared.