What is DART expressions
In this article, i will discuss about DART expressions
DART Expressions
An expression is an arbitarily complex combination of variables, constant , literals, operators, and function calls. The simplest expression is a single variables. DART expression is a fragment of code that can evaluated at run time to yield a value.
- Constant Expressions
A constant expressions is an expression whose value can never change.
Example of constant expression
- String Expressions
String expressions is use to holds a string value.
Example of string expression
String s ="I am used to holds a string value"; |
- Math Expressions
Math expressions is used to holds numeric value.
Example of math expression
- Relational Expressions
Relational expressions are used to holds some boolean operations.
Example of relational expression
- Bitshift Expressions
Bitshift expression are used to holds bit related value
Example of bitshift expression
Ask Your Question
Got a programming related question? You may want to post your question here