DartTutorial
Learn Dart Programming, its basics and Fundamentals from scratch.
Install / Use
/learn @smartherd/DartTutorialREADME
Dart Programming Tutorial for Beginners
Learn Dart Programming, its basics and Fundamentals from scratch.
Topics to be covered
- Overview
- Course introduction, prequisites and software required
- Installation
- Install required softwares for Windows, MAC and Linux ( Ubuntu )
- Getting Started with Dart Programming
- Run your first app in Dart
- Comments
- Exploring Data Types and Variables
- Data Types and Variables
- String, Literals and String Interpolation
- Define constants using "final" and "const" keywords
- Control Flow Statements
- IF ELSE
- Conditional Expressions
- Ternary Operator
- Loop Control Statements
- What are Iterators?
- FOR Loop and how it works
- WHILE Loop
- DO WHILE Loop
- BREAK statements
- CONTINUE keyword
- Labelled FOR Loop
- Exploring Functions or Methods
- Declaring functions
- Function Expressions: Short hand syntax or using FAT ARROR
- Optional Positional Parameters
- Optional Named Parameters
- Optional Default Parameters
- Exception Handling
- Demo with example
- Custom Exception Class
- Object Oriented Programming: Getting Started
- Defining Class and creating Objects
- Instance and field variables
- Constructors
- Default
- Named
- Parameterized
- More on Object Oriented Dart
- Inheritance
- Getter and Setter
- Private Instance Variable
- Polymorphism
- Using constructors in Inheritance
- Static variables and methods
- Functional Programming in Dart
- Lambda Expression
- Higher-Order Functions
- Lexical Closures
- Dart Collections
- Arrays or List
- Fixed Length List
- Growable List
- Set and HashSet
- Map and HashMap
- Arrays or List
- Callable Classes
- Conclusion
Authors
- Sriyank Siddhartha
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
