Back to Writing
NOTESflutterdartstandard-librarydart-coreprogramming

Flutter - Dart (1). The dart:core Library

April 27, 2020Updated Feb 17, 2026

Post image

Every language requires some understanding of its standard library to make coding easier.

Most frequently used functions live in the standard library.

Personally, I gauge whether someone "knows" a language by how well they remember its libraries.

Of course, that's separate from actual coding ability.

Regardless, the standard library is that important.

So let's explore what the key standard libraries in Dart are and what features they contain.

![](

RWgeFgZtt1D62Uz_WIg.s3KPSBm__6IxcI_asAySCCzD0onkHypfq7W_0FwUyDEg.PNG.cdw0424/image.png?type=w966)

First, there's the dart:core library.

Since it's the default library, you don't need to import it separately. It's applied automatically.

(The image above was written for explanatory purposes.)

In practice, most data types used for the most basic functions like Print() are included here.

Various data structures are naturally included as well.

![](

f-bIIWSqLlssSQXMjIg.H7lusmokE3nfoskyZHixCFfTBgJP2KEhZafwCcr2U9Ag.PNG.cdw0424/image.png?type=w966)

There are also functions for printing and for comparing two objects or extracting unique hash codes.

![](

yX7vSGoRa_eEl6ZIXgg.kS3qceLJPhKnnzdEJTu411RXFNSdUU0bDsWbP5Wm-log.PNG.cdw0424/image.png?type=w966)

There are also classes for various exception handling.

![](

nkbci0mv4QzHy3pvLog.hioTYkHeoWYMMt5wVhFkMZ4WATP4R43o8V0SORyxJh0g.PNG.cdw0424/image.png?type=w966)

It also includes classes for getting time and date information.

![](

aaoAY_fAHVxXOodNpsg.xCpmOjTYVFgdKwRf9wmhDxK_IdehFCVydG22DIy6VzYg.PNG.cdw0424/image.png?type=w966)

There are several more types beyond these, but the key takeaway is that the fundamental building blocks of the language are mostly contained in this dart:core library.

You'll end up searching for what you need later anyway, but I recommend browsing through the reference links below with a "oh, so this exists too" mindset.

dart:core library - Dart API

DartPad

This link is where you can practice Dart through the web.