Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.

Learn more
Command-line and server libraries and packages

Dart 3.11 is live!Learn more

Command-line and server libraries and packages

Libraries and packages that can help you write Dart command-line & server apps.

TheDart SDK containsdart:io and other libraries that provide low-level command-line & server APIs.

SDK libraries

#

The Dart SDK contains dart:io and other libraries that provide low-level web APIs.

The dart:io documentation

An example-driven tour of using the dart:io library. Topics include working with files & directories, and making & handling HTTP requests.

dart:io API reference

Complete reference documentation for the dart:io library.

Community packages

#

Thepub.dev site allows you to search for packages that support command-line and server apps by specifying the platforms your app needs to support. You can also search for words that describe the functionality you need.

Command-line packages

#

Command-line apps often use the following packages, in addition togeneral-purpose packages such asarchive,intl, andyaml:

PackageDescription
argsParses raw command-line arguments into a set of options and values.
cli_utilProvides utilities for building command-line apps.
completionAdds command-line completion to apps that use theargs package.
pathProvides comprehensive, cross-platform operations for manipulating paths.
usageWraps Google Analytics.

Server packages

#

Server apps can choose from many packages, in addition to the packages listed in the previous table andgeneral-purpose packages such aslogging:

PackageDescription
cryptoImplements cryptographic hashing functions for algorithms such as SHA-1, SHA-256, MD5, and HMAC.
grpc ImplementsgRPC , a high performance, open source, general RPC framework that puts mobile and HTTP/2 first.
shelfProvides a model for web server middleware that encourages composition and easy reuse.
dart_frogA fast, minimalistic backend framework for Dart built on top of Shelf.
serverpod A scalable app server that supports code generation, authentication, real-time communication, databases, and caching.
Was this page's content helpful?

Unless stated otherwise, the documentation on this site reflects Dart 3.11.0. Page last updated on 2025-09-15.View source orreport an issue.


[8]ページ先頭

©2009-2026 Movatter.jp