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

패키지 상세v1.19.1

collection

컬렉션과 관련된 컬렉션 및 유틸리티 함수 및 클래스.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
1270만
좋아요
1.4천
Pub 점수
140

패키지 설치

flutter pub add collection

패키지 개요

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

컬렉션 패키지는 Dart의 표준 리스트, 맵, 세트의 기능을 확장하는 핵심 유틸리티 및 개선된 컬렉션 클래스를 제공합니다. 불변 컬렉션, 효율적인 정렬, 비교 메서드, 그룹화, 지핑, 병합과 같은 일반적인 작업을 위한 헬퍼 함수가 포함되어 있습니다. 코드의 명확성과 성능을 향상시키기 위해 설계되었으며, Flutter 및 Dart 애플리케이션에서 데이터 조작 작업에 특히 유용합니다. 이 패키지는 Dart 팀에서 유지보수되며 기존 Dart 코드와 원활하게 통합됩니다.

사용 사례

  • 데이터 변환 및 집계
  • 불변 데이터 처리
  • 효율적인 목록 및 맵 작업
  • 컬렉션 정렬 및 비교
  • 중첩되거나 복잡한 데이터 구조 다루기

주요 기능

  • 불변 컬렉션 유형
  • 고급 정렬 및 비교 유틸리티
  • 그룹화 및 압축 도우미
  • 확장 가능한 컬렉션 인터페이스
  • 내장된 동등성 및 해싱

적합한 대상

  • 강력한 컬렉션 로직이 필요한 개발자
  • 중량 데이터 처리를 하는 Flutter 앱
  • 기능형 프로그래밍 패턴을 우선시하는 팀
  • 컬렉션에서 타입 안전성이 필요한 프로젝트
  • 크로스 플랫폼 Dart 애플리케이션

고려 사항

  • Dart의 컬렉션 API에 대한 이해가 필요합니다
  • 과도하게 사용할 경우 오버헤드가 발생할 수 있습니다
  • 기본적인 목록/맵 작업에는 필요하지 않음
  • 다른 Dart 언어 기능과 함께 사용하는 것이 가장 좋습니다
  • 핵심 컬렉션 개선에 국한

원본 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.

카테고리

소스 저장소

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