DART – Keywords

0 0
Read Time:30 Second

DART – Keywords

Keywords are predefined, reserved words used in programming that have special meanings to the compiler. Keywords are part of the syntax and they cannot be used as an identifier.

Wikipedia

Example:

var pi = 3.14;

Here, var is a keyword!

These keywords are case-sensitive and cannot be used to name variables, classes, and functions.

The following table lists the Dart Keywords!:

abstractelseimportshow 
as enuminstatic 
assertexport interface super
async extendsisswitch
await extension late sync 
breakexternal library this
casefactory mixin throw
catchfalsenewtrue
classfinalnulltry
constfinallyon typedef 
continueforoperator var
covariant Function part void
defaultget required while
deferred hide rethrowwith
doifreturnyield 
dynamic implements set 

In the next lesson, you will learn about Operators.

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Comment