패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.4.1

characters

유니코드/그래프엠 클러스터를 인식하는 연산을 사용한 문자열 치환.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1140만
좋아요
507
Pub 점수
160

패키지 설치

flutter pub add characters

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

characters 패키지는 Dart에서 유니코드 인식 문자열 조작을 제공하여 인덱싱 및 교체와 같은 작업이 그래프엠 클러스터(단일 시각적 문자를 형성하는 코드 포인트 시퀀스)를 존중하도록 보장합니다. 이 패키지는 특히 사용자가 복잡한 스크립트나 이모지를 입력하는 국제화 애플리케이션에서 안전하고 정확한 텍스트 처리를 가능하게 합니다. 패키지는 String을 확장하여 결합 마크 및 서rogate 쌍과 같은 특수 사례를 올바르게 처리하는 Characters 클래스를 제공합니다.

사용 사례

  • 국제화된 텍스트 처리
  • 이모지 및 복잡한 스크립트 처리
  • 안전한 문자열 슬라이싱 및 인덱싱
  • 정확한 커서 위치를 갖춘 텍스트 편집
  • 정확한 문자열 길이 계산
  • 사용자 입력 검증

주요 기능

  • 글자 클러스터 인식
  • 유니코드 안전한 문자열 작업
  • 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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트

순위