A tour of the core libraries
- dart:core - numbers, collections, strings, and more
- dart:async - asynchronous programming
- dart:math - math and random
- dart:convert - decoding and encoding JSON, UTF-8, and more
- dart:html - browser-based apps
- dart:io - I/O for servers and command-line apps
dart:core - numbers, collections, strings, and more
#Printing to the console
#Numbers
#Strings and regular expressions
#Searching inside a string
#Extracting data from a string
#Converting to uppercase or lowercase
#Trimming and empty strings
#Replacing part of a string
#Building a string
#Regular expressions
#Collections
#Lists
#Sets
#Maps
#Common collection methods
#URIs
#Encoding and decoding fully qualified URIs
#Encoding and decoding URI components
#Parsing URIs
#Building URIs
#Dates and times
#Utility classes
#Comparing objects
#Implementing map keys
#Iteration
#Exceptions
#Weak references and finalizers
#dart:async - asynchronous programming
#Future
#Using await
#Basic usage
#Chaining multiple asynchronous methods
#Waiting for multiple futures
#Handling errors for multiple futures
#Stream
#Using an asynchronous for loop
#Listening for stream data
#Transforming stream data
#Handling errors and completion
#dart:math - math and random
#Trigonometry
#Maximum and minimum
#Math constants
#Random numbers
#dart:convert - decoding and encoding JSON, UTF-8, and more
#Decoding and encoding JSON
#Decoding and encoding UTF-8 characters
#Other functionality
#dart:html - browser-based apps
#Manipulating the DOM
#Finding elements
#Manipulating elements
#Creating elements
#Adding, replacing, and removing nodes
#Manipulating CSS styles
#Handling events
#Using HTTP resources with HttpRequest
#Sending and receiving real-time data with WebSockets
#Sending data
#Receiving data
#Handling WebSocket events
#dart:io - I/O for servers and command-line apps
#Files and directories
#Reading a file as text
#Reading a file as binary
#Handling errors
#Streaming file contents
#Writing file contents
#Listing files in a directory
#Other common functionality
#HTTP clients and servers
#HTTP server
#HTTP client
#Unless stated otherwise, the documentation on this site reflects Dart 3.5.3. Page last updated on 2024-07-03. View source or report an issue.