Dart is high-productivity statically-typed programming language capable of targeting multiple platforms. It's used by Flutter to produce fast client apps with an awesome developer experience. 🎯 Learn more in the Full Dart Course https://fireship.io/courses/dart/

#flutter #programming #100SecondsOfCode

🔗 Resources

Full Dart Course https://fireship.io/courses/dart/
Dart Docs https://dart.dev/

🔥 Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- What is the Dart Programming Language?
- Why is Dart used in Flutter?
- Dart concurrency and isolates
2024-02-04T05:43:05.144Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
ed7e1743-842f-4451-a54a-af5b6596316b
cf66e8f9ea148761b2ac9d0f00e2be8549fd25b29c7504f4faa6cbc0cdc96470
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms.
It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser.
But things got off to a rocky start, and it was never embraced by the web development community.
However, it bounced back in a big way after being adopted by the Flutter framework.
And, today, it's one of the most loved of programming languages in the industry.
It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux.
It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter.
All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop.
This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel.
The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production.
However, the type system is flexible, allowing you to use dynamic types and run time checks when required.
It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions.
Syntactically, it's often described as combining elements of Java and JavaScript.
A dart program always starts with a main function that has no return value, so it's annotated with the void type.
Inside of it, we might clear a variable with var and set it equal to a string.
Dart will automatically infer this as a string type.
However, we could explicitly type it by replacing var.
Anything you can store in a variable is an object and every object is an instance of a class.
The only thing that's not an object in Dart is null.
This opens the door to multiple programming paradigms.
Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns.
On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done.
This has been Dart in 100 seconds.
Hit the like button and subscribe if you wanna see more short videos like this.
And if you wanna get really good art, I just released a brand new full course for pro members.
It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year.
Thanks for watching, and I will see you in the next one.

Speaker 0: Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms. It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser. But things got off to a rocky start, and it was never embraced by the web development community. However, it bounced back in a big way after being adopted by the Flutter framework. And, today, it's one of the most loved of programming languages in the industry.

It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux. It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter. All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop. This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel. The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production.

However, the type system is flexible, allowing you to use dynamic types and run time checks when required. It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions. Syntactically, it's often described as combining elements of Java and JavaScript. A dart program always starts with a main function that has no return value, so it's annotated with the void type. Inside of it, we might clear a variable with var and set it equal to a string.

Dart will automatically infer this as a string type. However, we could explicitly type it by replacing var. Anything you can store in a variable is an object and every object is an instance of a class. The only thing that's not an object in Dart is null. This opens the door to multiple programming paradigms.

Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns. On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done. This has been Dart in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. And if you wanna get really good art, I just released a brand new full course for pro members.

It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year. Thanks for watching, and I will see you in the next one.
Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms. It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser.
But things got off to a rocky start, and it was never embraced by the web development community. However, it bounced back in a big way after being adopted by the Flutter framework. And, today, it's one of the most loved of programming languages in the industry. It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux. It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter. All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop. This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel. The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production.
languages
programming
software
computer science
software development
However, the type system is flexible, allowing you to use dynamic types and run time checks when required. It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions. Syntactically, it's often described as combining elements of Java and JavaScript. A dart program always starts with a main function that has no return value, so it's annotated with the void type. Inside of it, we might clear a variable with var and set it equal to a string. Dart will automatically infer this as a string type.
However, we could explicitly type it by replacing var. Anything you can store in a variable is an object and every object is an instance of a class. The only thing that's not an object in Dart is null. This opens the door to multiple programming paradigms. Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns.
programming
On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done. This has been Dart in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. And if you wanna get really good art, I just released a brand new full course for pro members. It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year.
youtube
software
software development
video gaming
streaming
Thanks for watching, and I will see you in the next one.
Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms. It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser. But things got off to a rocky start, and it was never embraced by the web development community. However, it bounced back in a big way after being adopted by the Flutter framework. And, today, it's one of the most loved of programming languages in the industry. It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux. It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter. All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop. This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel. The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production. However, the type system is flexible, allowing you to use dynamic types and run time checks when required. It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions. Syntactically, it's often described as combining elements of Java and JavaScript. A dart program always starts with a main function that has no return value, so it's annotated with the void type. Inside of it, we might clear a variable with var and set it equal to a string. Dart will automatically infer this as a string type. However, we could explicitly type it by replacing var. Anything you can store in a variable is an object and every object is an instance of a class. The only thing that's not an object in Dart is null. This opens the door to multiple programming paradigms. Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns. On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done. This has been Dart in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. And if you wanna get really good art, I just released a brand new full course for pro members. It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year. Thanks for watching, and I will see you in the next one.
Dart,
dart
a
a
type
type
safe
safe
general
general
purpose
purpose
programming
programming
language
language
designed
designed
for
for
building
building
fast
fast
apps
apps
on
on
multiple
multiple
platforms.
platforms
It
it
was
was
developed
developed
by
by
Google
google
and
and
first
first
appeared
appeared
in
in
2011,
2011
and
and
was
was
intended
intended
to
to
be
be
an
an
alternative
alternative
to
to
JavaScript
javascript
by
by
shipping
shipping
its
its
own
own
virtual
virtual
machine
machine
to
to
run
run
apps
apps
in
in
the
the
browser.
browser
But
but
things
things
got
got
off
off
to
to
a
a
rocky
rocky
start,
start
and
and
it
it
was
was
never
never
embraced
embraced
by
by
the
the
web
web
development
development
community.
community
However,
however
it
it
bounced
bounced
back
back
in
in
a
a
big
big
way
way
after
after
being
being
adopted
adopted
by
by
the
the
Flutter
flutter
framework.
framework
And,
and
today,
today
it's
it's
one
one
of
of
the
the
most
most
loved
loved
of
of
programming
programming
languages
languages
in
in
the
the
industry.
industry
It's
it's
unique
unique
for
for
its
its
ability
ability
to
to
compile
compile
to
to
multiple
multiple
targets,
targets
like
like
ARM
arm
and
and
x
x
64
64
machine
machine
code
code
for
for
mobile
mobile
devices,
devices
JavaScript
javascript
for
for
web
web
browsers,
browsers
and
and
self
self
contained
contained
executables
executables
for
for
Windows,
windows
macOS,
macos
and
and
Linux.
linux
It
it
also
also
has
has
a
a
just
just
in
in
time
time
or
or
JIT
jit
compiler,
compiler
which
which
compiles
compiles
your
your
source
source
code
code
to
to
in
in
code
code
on
on
the
the
fly,
fly
which
which
can
can
boost
boost
developer
developer
productivity
productivity
with
with
features
features
like
like
hot
hot
reload
reload
and
and
Flutter.
flutter
All
all
dark
dark
code
code
runs
runs
inside
inside
of
of
an
an
isolate,
isolate
which
which
is
is
like
like
a
a
chunk
chunk
of
of
memory
memory
running
running
a
a
single
single
threaded
threaded
event
event
loop.
loop
This
this
makes
makes
it
it
possible
possible
to
to
perform
perform
asynchronous
asynchronous
background
background
work
work
on
on
a
a
single
single
thread,
thread
but
but
you
you
can
can
also
also
spawn
spawn
multiple
multiple
isolates
isolates
to
to
run
run
code
code
in
in
parallel.
parallel
The
the
language
language
itself
itself
is
is
type
type
safe,
safe
which
which
means
means
that
that
a
a
variable's
variable's
value
value
always
always
matches
matches
its
its
static
static
type
type
and
and
that
that
generally
generally
results
results
in
in
fewer
fewer
run
run
time
time
errors
errors
for
for
your
your
app
app
in
in
production.
production
However,
however
the
the
type
type
system
system
is
is
flexible,
flexible
allowing
allowing
you
you
to
to
use
use
dynamic
dynamic
types
types
and
and
run
run
time
time
checks
checks
when
when
required.
required
It
it
also
also
provides
provides
null
null
safety,
safety
which
which
means
means
that
that
values
values
can't
can't
null
null
unless
unless
you
you
explicitly
explicitly
allow
allow
them
them
to
to
be,
be
which
which
can
can
further
further
cut
cut
down
down
runtime
runtime
exceptions.
exceptions
Syntactically,
syntactically
it's
it's
often
often
described
described
as
as
combining
combining
elements
elements
of
of
Java
java
and
and
JavaScript.
javascript
A
a
dart
dart
program
program
always
always
starts
starts
with
with
a
a
main
main
function
function
that
that
has
has
no
no
return
return
value,
value
so
so
it's
it's
annotated
annotated
with
with
the
the
void
void
type.
type
Inside
inside
of
of
it,
it
we
we
might
might
clear
clear
a
a
variable
variable
with
with
var
var
and
and
set
set
it
it
equal
equal
to
to
a
a
string.
string
Dart
dart
will
will
automatically
automatically
infer
infer
this
this
as
as
a
a
string
string
type.
type
However,
however
we
we
could
could
explicitly
explicitly
type
type
it
it
by
by
replacing
replacing
var.
var
Anything
anything
you
you
can
can
store
store
in
in
a
a
variable
variable
is
is
an
an
object
object
and
and
every
every
object
object
is
is
an
an
instance
instance
of
of
a
a
class.
class
The
the
only
only
thing
thing
that's
that's
not
not
an
an
object
object
in
in
Dart
dart
is
is
null.
null
This
this
opens
opens
the
the
door
door
to
to
multiple
multiple
programming
programming
paradigms.
paradigms
Functions
functions
are
are
also
also
first
first
class
class
objects,
objects
which
which
means
means
they
they
can
can
be
be
passed
passed
around
around
for
for
functional
functional
programming,
programming
or
or
where
where
you
you
can
can
define
define
classes
classes
with
with
mix
mix
and
and
based
based
inheritance
inheritance
for
for
object
object
oriented
oriented
patterns.
patterns
On
on
top
top
of
of
that,
that
it
it
has
has
a
a
package
package
manager
manager
called
called
Pub,
pub
of
of
providing
providing
thousands
thousands
of
of
open
open
source
source
packages
packages
to
to
help
help
you
you
get
get
things
things
done.
done
This
this
has
has
been
been
Dart
dart
in
in
100
100
seconds.
seconds
Hit
hit
the
the
like
like
button
button
and
and
subscribe
subscribe
if
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
like
like
this.
this
And
and
if
if
you
you
wanna
wanna
get
get
really
really
good
good
art,
art
I
i
just
just
released
released
a
a
brand
brand
new
new
full
full
course
course
for
for
pro
pro
members.
members
It
it
teaches
teaches
the
the
fundamentals
fundamentals
of
of
Dart
dart
from
from
the
the
ground
ground
up
up
to
to
get
get
you
you
for
for
Flutter
flutter
development
development
and
and
my
my
upcoming
upcoming
Flutter
flutter
2
2
course,
course
which
which
will
will
be
be
out
out
later
later
this
this
year.
year
Thanks
thanks
for
for
watching,
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
In this video, the speaker discusses the use of Dart as a programming language designed for building fast apps on multiple platforms. The language is type safety and flexible, allowing for multiple runs and their use of variables and null safety. It is also a first-class object and can be passed around for functional programming, and the language has a package manager for open source packages. The speaker will provide a new course on Flutter development and a brand new full course for pro members.
Dart in 100 Seconds
Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms. It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser. But things got off to a rocky start, and it was never embraced by the web development community. However, it bounced back in a big way after being adopted by the Flutter framework. And, today, it's one of the most loved of programming languages in the industry. It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux. It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter. All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop. This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel. The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production. However, the type system is flexible, allowing you to use dynamic types and run time checks when required. It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions. Syntactically, it's often described as combining elements of Java and JavaScript. A dart program always starts with a main function that has no return value, so it's annotated with the void type. Inside of it, we might clear a variable with var and set it equal to a string. Dart will automatically infer this as a string type. However, we could explicitly type it by replacing var. Anything you can store in a variable is an object and every object is an instance of a class. The only thing that's not an object in Dart is null. This opens the door to multiple programming paradigms. Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns. On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done. This has been Dart in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. And if you wanna get really good art, I just released a brand new full course for pro members. It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year. Thanks for watching, and I will see you in the next one.
In this video, the speaker discusses the use of Dart as a programming language designed for building fast apps on multiple platforms. The language is type safety and flexible, allowing for multiple runs and their use of variables and null safety. It is also a first-class object and can be passed around for functional programming, and the language has a package manager for open source packages. The speaker will provide a new course on Flutter development and a brand new full course for pro members.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : Dart in 100 Seconds 
        and a small summary : In this video, the speaker discusses the use of Dart as a programming language designed for building fast apps on multiple platforms. The language is type safety and flexible, allowing for multiple runs and their use of variables and null safety. It is also a first-class object and can be passed around for functional programming, and the language has a package manager for open source packages. The speaker will provide a new course on Flutter development and a brand new full course for pro members.
        [/INST]
        
        Generate the video : Dart, a type safe general purpose programming language designed for building fast apps on multiple platforms. It was developed by Google and first appeared in 2011, and was intended to be an alternative to JavaScript by shipping its own virtual machine to run apps in the browser. But things got off to a rocky start, and it was never embraced by the web development community. However, it bounced back in a big way after being adopted by the Flutter framework. And, today, it's one of the most loved of programming languages in the industry. It's unique for its ability to compile to multiple targets, like ARM and x 64 machine code for mobile devices, JavaScript for web browsers, and self contained executables for Windows, macOS, and Linux. It also has a just in time or JIT compiler, which compiles your source code to in code on the fly, which can boost developer productivity with features like hot reload and Flutter. All dark code runs inside of an isolate, which is like a chunk of memory running a single threaded event loop. This makes it possible to perform asynchronous background work on a single thread, but you can also spawn multiple isolates to run code in parallel. The language itself is type safe, which means that a variable's value always matches its static type and that generally results in fewer run time errors for your app in production. However, the type system is flexible, allowing you to use dynamic types and run time checks when required. It also provides null safety, which means that values can't null unless you explicitly allow them to be, which can further cut down runtime exceptions. Syntactically, it's often described as combining elements of Java and JavaScript. A dart program always starts with a main function that has no return value, so it's annotated with the void type. Inside of it, we might clear a variable with var and set it equal to a string. Dart will automatically infer this as a string type. However, we could explicitly type it by replacing var. Anything you can store in a variable is an object and every object is an instance of a class. The only thing that's not an object in Dart is null. This opens the door to multiple programming paradigms. Functions are also first class objects, which means they can be passed around for functional programming, or where you can define classes with mix and based inheritance for object oriented patterns. On top of that, it has a package manager called Pub, of providing thousands of open source packages to help you get things done. This has been Dart in 100 seconds. Hit the like button and subscribe if you wanna see more short videos like this. And if you wanna get really good art, I just released a brand new full course for pro members. It teaches the fundamentals of Dart from the ground up to get you for Flutter development and my upcoming Flutter 2 course, which will be out later this year. Thanks for watching, and I will see you in the next one.
        