パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v1.4.1

characters

Unicode/グラフムクラスターに対応した操作を使用した文字列置換。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
1140万
いいね数
507
Pub ポイント
160

パッケージをインストール

flutter pub add characters

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

characters パッケージは、Dart における Unicode 対応の文字列操作を提供し、インデックス付けや置換などの操作がグラフィームクラスター(1つの表示される文字を形成するコードポイントのシーケンス)を尊重することを保証します。このパッケージは、特に複雑なスクリプトや絵文字を入力するユーザー向けの国際化アプリケーションにおいて、安全かつ正確なテキスト処理を可能にします。このパッケージは、String を Characters クラスで拡張し、結合マークやサロゲートペアなどのエッジケースを正しく処理します。

用途

  • 国際化テキスト処理
  • 絵文字と複雑なスクリプトの処理
  • 安全な文字列スライシングとインデックス指定
  • 正しいカーソル位置でのテキスト編集
  • 正確な文字列長さの計算
  • ユーザー入力検証

主な機能

  • グラフェムクラスターの認識
  • Unicode対応の文字列操作
  • String を Characters クラスで拡張する
  • すべての主要プラットフォームをサポートしています
  • 不変で効率的な設計
  • 包括的なテストカバレッジ

適している対象

  • グローバルなターゲット層向けのアプリ
  • テキストエディタと入力フィールド
  • ローカライゼーションおよびi18nプロジェクト
  • 絵文字やローマ字以外の文字体系を使用するアプリケーション
  • 正確な文字列操作が必要な開発者

注意事項

  • 最小限のオーバーヘッドを追加
  • Characters クラスの明示的な使用が必要です
  • 単純なASCIIのみの文字列には不要です
  • 文字列操作のみに制限されています
  • 他のパッケージに対する実行時依存関係なし

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

ランキング