Dart Syntax: General Rules

"Hello World, I'm Vinit Mepani, a coding virtuoso driven by passion, fueled by curiosity, and always poised to conquer challenges. Picture me as a digital explorer, navigating through the vast realms of code, forever in pursuit of innovation.
In the enchanting kingdom of algorithms and syntax, I wield my keyboard as a magical wand, casting spells of logic and crafting solutions to digital enigmas. With each line of code, I embark on an odyssey of learning, embracing the ever-evolving landscape of technology.
Eager to decode the secrets of the programming universe, I see challenges not as obstacles but as thrilling quests, opportunities to push boundaries and uncover new dimensions in the realm of possibilities.
In this symphony of zeros and ones, I am Vinit Mepani, a coder by passion, an adventurer in the digital wilderness, and a seeker of knowledge in the enchanting world of code. Join me on this quest, and let's create digital wonders together!"
If we are learn something then first we must aware about there basic rule. So today we discuss some basic rule of the Dart language.
Dart keyword can no be declared as any variable name .
Dart only recognize underscore ( _ ) and Dollar sing ($) in variable name so, you can use use only this two symbol in your variable name , if you use any other special character rather then this two you can face error in your code.
Variable name cannot start from any number it must start from word.
Dart differentiae between lowercase and uppercase so you can use both case to declare different type of variable name.
Here , are some example of Valid and Invalid Variable.
| Valid identifiers | Invalid identifiers |
| firstName | Var |
| first_name | first name |
| a | first-name |
| $hello | 1number |
| lastname | #num |




