Open to Work — Full Stack Flutter (Mobile, Web, Desktop) & Odoo / FastAPI

Hello & Assalamualaikum, I am

Md. Rahul Reza

Full Stack Flutter Developer

4+
Years Experience
35+
Projects Done
30+
Honors & Awards
Dart
Swift
Firebase
Bloc
Riverpod
Odoo API
REST API
Android
iOS
Flutter
Profile Picture
Click to view About Info
Md. Rahul Reza

Md. Rahul Reza

Full Stack Flutter Developer (Android, iOS, Web, Desktop) | Odoo API | FastAPI | PHP

EducationB.Sc in Computer Science and Engineering, GUB
ProfessionFull Stack Developer (Flutter Multi-Platform & Backend APIs)
PlatformsAndroid, iOS, Web, Desktop (Linux, macOS, Windows)
Experience4+ years in Full Stack Mobile & Web Solutions
LocationDhaka, Bangladesh (GMT+6)
AvailabilityFull-time / Remote Worldwide / Freelance
Emailcontact@rahulreza.com
LanguagesEnglish (Professional), Bengali (Native)
SpecializationFlutter (Riverpod / Provider), Odoo ERP, FastAPI, PHP REST APIs
Google Play Developer Profile

Published Mobile Apps & Games

Explore my production Android and Flutter applications published on the Google Play Store with thousands of active downloads.

Snake Game: Retro 1997
10K+ Installs

Snake Game: Retro 1997

★ Casual • 10,000+ downloads

Ultimate classic snake game with 35+ retro modes, AI battle, nostalgic soundscapes and fully offline fun.

Gems of Deen
1K+ Installs

Gems of Deen

★ Quran & Prayer Companion

Quran, Hadith, accurate prayer times, Qibla direction and more — your complete daily Deen companion.

AI Tic Tac Toe
1K+ Installs

AI Tic Tac Toe

★ Puzzle • 1,000+ downloads

Play Tic Tac Toe against a smart AI or with friends on 3x3, 4x4 and 5x5 boards.

Converter
1K+ Installs

Converter

★ All-in-one File Converter

All-in-one file converter: PDF tools, OCR text scanning, image conversion, MP3 extraction and smart downloads.

BendMaster Pro
Engineering

BendMaster Pro

⚡ Conduit & NEC Calculator

Offline conduit bending calculator and NEC electrical engineering toolkit for stub 90°, offsets and saddles.

২০২৬ সালের বই
Education

২০২৬ সালের বই

★ NCTB Textbooks • 100+ downloads

Class 1–12 NCTB বই ২০২৬, PDF ডাউনলোড ও অফলাইন রিডিং সুবিধা।

Sopner Path
Career

Sopner Path

★ Job & Scholarship Updates

Scholarships, university admission, job circulars and career updates for students — all in one app.

Life Mate
Productivity

Life Mate

★ Finance & Organizer

Track expenses, bills, documents and medicine reminders — your complete personal life organizer.

Meal Rate Manager
House & Home

Meal Rate Manager

★ Mess & Meal Manager

Smart mess and hostel manager to track daily meals, bazar costs, shared expenses and auto-calculate meal rate.

Todo: Task Manager
Planner

Todo: Task Manager

★ Task & Habit Planner

Master daily tasks, schedules and habits with a fast, private, offline-first planner.

Memory Notes
Productivity

Memory Notes

★ Private Offline Notes

Simple, fast and private offline notes app for daily tasks, ideas and personal journaling.

Fit: Fitness Tracker
Health

Fit: Fitness Tracker

★ Habit & Health

Track workouts, habits, water intake and health goals with a library of 1,300+ exercises.

Lerny
Kids Education

Lerny

★ English & Bangla Learning

Kids learn alphabets, numbers and animals in English and Bengali through fun, interactive lessons.

Lerny Pro
Premium

Lerny Pro

★ Premium Kids Learning

Ad-free premium kids learning app with fun mini games for English and বাংলা learning.

Player
Media

Player

★ Audio & Video Player

Premium offline audio and video player with intuitive gesture controls and elegant dark themes.

JoyCade
Arcade

JoyCade

★ 40+ Offline Games

40+ offline games for all ages — puzzle, racing, action and casual fun bundled in one app.

Games Hub
Games

Games Hub

★ Classic Games Bundle

Play classic and fun games in one lightweight app — offline mini games for all ages.

Cosmic Custodian
Premium

Cosmic Custodian

★ Arcade • Space Physics

Clean space debris, escape gravity wells and master orbital flight in this physics-based arcade game.

Traffic Escape
Puzzle

Traffic Escape

★ Puzzle & Logic

Slide vehicles to unblock the red car and escape the traffic jam — challenging offline logic puzzles.

Enterprise Mobile Solutions

Odoo ERP & Mobile Apps

Custom cross-platform enterprise mobile applications developed with Flutter and integrated with Odoo ERP backends via JSON-RPC & REST APIs.

ODOO ERP • FLUTTER

Odoo E-Commerce App

★★★★★ Mobile Store • Odoo API

Full-featured mobile shopping application built with Flutter & integrated with Odoo E-Commerce/Inventory via JSON-RPC. Features real-time stock sync, multi-variant products, automated tiered pricing, cart, secure checkout & live order tracking.

ODOO ERP • FLUTTER

Odoo Education & LMS App

★★★★★ School & LMS • Odoo API

Cross-platform Flutter educational application for schools & academies connected to Odoo ERP backend. Includes student/teacher portals, smart attendance marking, live classroom timetables, online fee invoicing & exam grade reports.

ODOO ERP • FLUTTER

Odoo CRM & Leads App

★★★★★ CRM Pipeline • Odoo API

Mobile CRM and opportunity tracking tool engineered with Flutter integrated with Odoo CRM (crm.lead). Features drag-and-drop opportunity Kanban stages, rapid lead capture, meeting logs, GPS client visit check-in & offline sync.

ODOO ERP • FLUTTER

Odoo HRM & Attendance App

★★★★★ HRMS & Payroll • Odoo API

Enterprise employee self-service mobile portal connected to Odoo HR & Payroll modules. Features geo-fenced attendance punch-in/out, leave balance & requests workflow, encrypted PDF payslip viewer, and expense claim reimbursement.

ODOO ERP • FLUTTER

Odoo Sales & POS App

★★★★★ Sales & POS • Odoo API

Field sales & mobile point-of-sale Flutter application integrated with Odoo Sales & Invoicing. Instant quotation/sales order generation, customer digital signature capture, Bluetooth thermal receipt printing & PDF invoice export.

Live Websites

Web Projects & Sites

My published web projects — from Blogger-powered blogs to open-source developer tools hosted on GitHub Pages.

✍
Blog

Sopner Path

sopnerpath.blogspot.com

A Bangla blog covering tech, programming tips, and personal insights — built and maintained on Blogger with a custom dark theme.

{}
Dev Tool

JSON File Merger

rahulreza.github.io/jsonfilemerger

An open-source browser-based tool to merge multiple JSON files into one — no backend, no upload, fully client-side. Hosted on GitHub Pages.

⚙
Tools

Smart Tools BD

smarttoolsbangladesh.blogspot.com

A collection of free smart online utility tools designed for Bangladeshi users — covering calculators, converters, and everyday helpers.

📐
Calculator

Jomi Calculator BD

jomicalculatorbd.blogspot.com

A free land area calculator tailored for Bangladesh — supports Bigha, Katha, Decimal, Acre and more with instant unit conversion.

📰
News Portal

E Shongbad

eshongbad.blogspot.com

A modern digital news and live sports portal delivering breaking news, international headlines, live match scores, technology, and business updates with clean typography.

pub.dev · Verified Publisher

Flutter & Dart Packages

Open-source Flutter packages published on pub.dev under the rahulreza.com verified publisher — 11 packages with real-world production use.

appcare_flutter

v2.0.1
♥ 8 likes ★ 160 pts ⬇ 85/mo

An all-in-one Flutter utility package for app maintenance, upgrader dialogs, device info, battery, network diagnostics, biometrics, security, and hardware controls.

appcare_flutter: ^2.0.1

flutter_simple_webview

v2.0.0
♥ 5 likes ★ 140 pts ⬇ 54/mo

A production-grade, zero-dependency Flutter WebView package with advanced features like file upload, background download, and cookie persistence.

flutter_simple_webview: ^2.0.0

simple_translator

v1.0.0
♥ 6 likes ★ 160 pts ⬇ 27/mo

A simple and lightweight package for translating text using the Google Translate API. Supports localization and multi-language apps.

simple_translator: ^1.0.0

odoo_image_show

v3.0.0
♥ 1 like ★ 160 pts ⬇ 53/mo

A Flutter package to display profile images from the Odoo API with progress indication, error handling, and full customization support.

odoo_image_show: ^3.0.0

flexible_data_view

v0.0.3
♥ 1 like ★ 160 pts ⬇ 51/mo

A customizable package for displaying data in list, grid, table or slideshow views — flexible layout switching for Flutter apps.

flexible_data_view: ^0.0.3

timings_of_deen

v0.0.1
♥ 4 likes ★ 140 pts ⬇ 11/mo

Comprehensive guide for daily Muslim practices — accurate prayer times, Qibla direction, and essential Islamic resources all in one package.

timings_of_deen: ^0.0.1

all_in_one_video_player

v1.0.0
♥ 0 likes ★ 160 pts ⬇ 56/mo

A Flutter video player that supports YouTube, Vimeo, and direct server links with custom controls, HLS streaming, and easy integration.

all_in_one_video_player: ^1.0.0

image_upload

v1.0.0
♥ 1 like ★ 145 pts ⬇ 35/mo

A customizable Flutter widget for seamless image capture, gallery selection, interactive preview, and efficient uploading in mobile apps.

image_upload: ^1.0.0

unique_splash_screen

v0.0.1
♥ 1 like ★ 150 pts ⬇ 13/mo

A unique and customizable splash screen package for Flutter applications with smooth animations and flexible theming options.

unique_splash_screen: ^0.0.1

flutter_launcher_icons_plus

v1.0.0
♥ 2 likes ★ 130 pts ⬇ 22/mo

An extended Flutter launcher icons generator with adaptive icon support, themed icons, and multi-platform generation for iOS and Android.

flutter_launcher_icons_plus: ^1.0.0

odoo_api_connect

v1.0.0
♥ 3 likes ★ 155 pts ⬇ 41/mo

A Flutter package to connect and communicate with Odoo ERP backend using JSON-RPC and REST APIs — authentication, CRUD operations, and error handling.

odoo_api_connect: ^1.0.0

Experience

Flutter App Developer | Xsellence Bangladesh Ltd, Dhaka

Jan 2025 - Present • Spearheading cross-platform mobile development using Flutter & Dart. • Architecting enterprise integrations with Odoo ERP backend via REST & JSON-RPC APIs. • Implementing scalable state management (BLoC / GetX) and clean architecture. • Overseeing automated CI/CD builds and Google Play Store deployments.

Junior Flutter App Developer | Sofof Tech, UAE

Nov 2024 - Dec 2024 Delivered SmartExecution App V1 on a project basis. Key features included multi-language localization, runtime app permissions, live video/audio calling, push notifications, and dynamic themes.

Junior Flutter App Developer | Iching Software Lab, Dhaka

Aug 2024 - Oct 2024 Engineered production apps including ValoKhabar, AAAF Admin, AAAF Membership, and InsafBook (Rider & User) using Flutter, Riverpod, and REST APIs. Maintained updates and deployments on Google Play Store.

Operational Manager | ProEdu Care, Rajshahi

May 2024 - Jun 2024 Oversaw daily operations and coordinated IT training initiatives, streamlining workflows and curriculum delivery.

Software Engineer (I) | Developer Experience Hub, Rajshahi

Mar 2023 - Apr 2024 Promoted from probationary role to Software Engineer I. Engineered responsive Flutter applications using Riverpod & Provider state management, collaborated in cross-functional Agile sprints, and optimized frontend performance.

Organizer Volunteer | BASIS SoftExpo, Dhaka

Feb 2023 Coordinated team workflows, attendee communications, and logistics at the national BASIS SoftExpo.

Android App Development (Flutter) | BASIS SEIP, BITM

Sep 2022 - Dec 2022 Mastered Dart, Flutter state management (Provider), SQLite, Google Maps API, and Firebase integration.

Flutter Developer (Intern) | Redsoft Limited, Dhaka

Jan 2022 - Apr 2022 Developed Flutter UI components, conducted REST API testing using Postman, and practiced Git version control in a team environment.

Education

B.Sc in CSE | Green University of Bangladesh

2019 - 2022 Graduated with a Bachelor of Science in Computer Science and Engineering.

Higher Secondary Certificate | Bogura Coronation Institution and College

2018 Science Group

Secondary School Certificate | Kochashahar High School

2016 Science Group

Technical Skills

What I Do

📱
Cross-Platform Flutter Apps

Building top-tier, native-performance applications from a single codebase for Android, iOS, Web, and Desktop (Linux, macOS, Windows) using Flutter and Dart. Powered by clean architecture and robust state management (Riverpod & Provider).

Flutter Dart Android iOS Web Desktop (Linux / macOS / Win) Riverpod Provider Play Store
🔗
Odoo ERP & Mobile Integration

Seamlessly connecting Flutter client apps with Odoo ERP backends via JSON-RPC, XML-RPC, and custom REST APIs for Sales, Inventory, Accounting, and CRM — creating full-stack enterprise mobile solutions.

Odoo ERP Python JSON-RPC REST API Odoo 16/17/18 ERP Mobile Client
⚡
Full Stack Backend & APIs (FastAPI & PHP)

Designing and building lightning-fast backend architectures and secure RESTful APIs using Python FastAPI and PHP. Backed by MySQL databases, Firebase authentication, and cloud services for complete end-to-end applications.

FastAPI PHP API Python MySQL Firebase REST API Postman

Tech Stack

◆ Flutter ◆ Dart ◆ Riverpod ◆ Provider ◆ BLoC ◆ Android ◆ iOS ◆ Web ◆ Desktop (macOS / Linux / Windows) ◆ Odoo ERP ◆ JSON-RPC ◆ FastAPI ◆ Python ◆ PHP REST API ◆ REST API ◆ MySQL ◆ Firebase ◆ Git ◆ Linux

Events & Gallery

bdapps App Reciations 2024

bdapps App Reciations 2024
Token of appreciations

bdapps App Reciations 2024

bdapps App Reciations 2024
My Speech

bdapps App Reciations 2024

bdapps App Reciations 2024
Me along with bdapps Champs 2022

BASIS SoftExpo 2023

BASIS SoftExpo 2023
Me along with BASIS Secretariat

HULT Price 2022

HULT Price 2022
Team with Respected DEAN FSE, GUB

HULT Prize 2022

HULT Prize 2022
Champ with organizers

HULT Prize 2022

HULT Prize 2022
Champions team

bdapps Regional Contest 2022

bdapps Regional Contest 2022
Secured 5th (Dhaka-Mymensingh)

bdapps National Galanight 2022

bdapps National Galanight 2022
Secured 7th Positions

bdapps Crest at BITM 2022

bdapps Crest at BITM 2022
Me along with BITM aurthority

BASIS SEIP Course 2022

BASIS SEIP Course 2022
Me along with my Friends and Teachers

Hult Prize 2022

Hult Prize 2022
Champions

BASIS National ICT Award 2020

BASIS National ICT Award 2020
Featured at news

BASIS National ICT Award 2020

BASIS National ICT Award 2020
Crest

BASIS National ICT Award 2020

BASIS National ICT Award 2020
Award day

Extracurricular Activities

Joint Secretary | GRACE: GUB Alumni Association of CSE

march 2024 - sep

Competitor | NASA Space Apps Challenge, Bangladesh

mar 2020 - current

Joint Information Secretary | Green University Alumni Association of CSE

feb 2023 - feb 2023

Communication | BASIS Students' Forum

oct 2023 - current

Advisor | Green University Reading Society

june 2022 - current

Convener | BASIS Students' Forum GUB Chapter

jun 2022 - oct 2023

General Secretary | Green University Computer Club

mar 2022 - aug 2023

Awards & Honors

Best BSF Volunteer Award 2024 | BASIS

2024 Awarded as the Best BASIS Students' Forum (BSF) Volunteer for outstanding leadership, commitment, and community contribution.

Regional Lead (Rajshahi) | NASA Space Apps Challenge Bangladesh

2023

7th Bangladesh | bdapps National Gala Round

2022

5th (Dhaka-Mymensingh Region) | bdapps National Hackathon

2022

Champion | Hult Prize-GUB

2022

Champion | BASIS National ICT Award

2020

Recommendations

Prof. Dr. Md. Saiful Azad -Professor and Dean, FSE, GUB

This is to certify that Md. Rahul Reza is a student of the Department of Computer Science and Engineering, Green University of Bangladesh, I am pleased to write a recommendation for Md. Rahul Reza. I have known Rahul for a very long time as an active learner. He has got the BASIS National ICT Awards 2020 and Champions of Hult-Prize GUB-2022. He worked as the organizing team on several workshops for the Department of Computer Science and Engineering, Green University of Bangladesh. During his studentship at the Honors Level, I found him imaginative, dependable, reliable, mature and innovative to achieve his academic goals. He can adjust himself to any situation promptly. He has been found very enthusiastic and he is a proactive and quick learner. He is interested and motivated to learn new things. He is capable of analyzing concepts and issues within his field of study as well as opines his personal point of view. He always showed his extra effort in each of the assignments. He has good reading skills and loves to go deep into the content. It is also noteworthy that he was directly involved in organizing different seminars and training programs at our Institute especially his involvement in the CSE Carnival showed his communication, organizing and adaptive skills. Md. Rahul Reza is good at spoken and written English. His understanding of his subject is laudable. As Md. Rahul Reza is a promising young and energetic student. I highly recommend him for challenging programs at a higher degree level anywhere in the world for any further information regarding his reference, please feel free to contact me at any time.

Toufiq Elahi Plabon- Former Assistant Manager at BASIS , Coordinator at NASAC

I am writing to wholeheartedly recommend Md. Rahul Reza for any position in the IT industry that he may apply for. I have had the pleasure of observing Rahul’s professional development over the years and can attest to his dedication, ambition, and absolute commitment to his work. Rahul has always been active in his extracurricular activities, which is a testament to his ability to manage his time effectively and maintain a high standard of work. He completed the BASIS-SEIP course and interned at BASIS in February 2022, where he performed exceptionally well at the Soft Expo. In 2023, Rahul served as the Regional Lead for the NASA Space Apps Challenge in Rajshahi, demonstrating his leadership skills and his ability to work under pressure. His team, DecodersSquad, was awarded the BASIS National ICT Award, a testament to their hard work and innovative thinking. Rahul’s competitive spirit is evident in his participation in various competitions. He secured the 5th position at the BDApps National Hackathon (Dhaka-Mymensingh region) and the 7th position at the BDApps National Gala Round 2022 with his team, DecodersSquad. He also competed in the Hult Prize GUB competition in 2022 and advanced to the Asia region competition. Since 2019, Rahul has been an active member of the BASIS Students’ Forum GUB chapter and served as its convener in 2022. His dedication to the forum and his leadership skills have greatly contributed to the success of the chapter. In conclusion, Rahul’s passion for the IT industry, combined with his technical skills, leadership abilities, and commitment to his work, make him an excellent candidate for any position. I am confident that he will bring the same dedication and enthusiasm to any team he joins. Please feel free to contact me if you need any further information.

Shayshab Azad -Information Security at Deutsche Börse Group

I am pleased to recommend Md. Rahul Reza, whose diverse roles and achievements highlight his exceptional skills and dedication. As a part of Team Decoders Squad, Rahul consistently delivers his high-quality productivity, showcasing his technical prowess. His leadership roles in various forums reveal his strong organizational skills and ability to drive initiatives. Rahul's competitive spirit and commitment to excellence are evident from his achievements in prestigious competitions and awards. His involvement in projects and dedication make a positive impact.

Certificates

Loading Certificates...
Home > Blog > Coding in Bangla

Dart Programming Tutorial in Bangla: Beginner to Advanced Guide

PROGRAMMING TUTORIAL

Dart Programming Tutorial in Bangla: Beginner to Advanced Guide

Dart programming শিখুন সহজ বাংলায়। Basic syntax থেকে Object-Oriented Programming, Null Safety, Async-Await এবং Flutter development পর্যন্ত সম্পূর্ণ গাইড।

Dart programming বর্তমানে mobile app development শেখার জন্য একটি গুরুত্বপূর্ণ বিষয়, বিশেষ করে যারা Flutter দিয়ে Android, iOS, Web এবং Desktop application তৈরি করতে চান। Dart একটি modern, object-oriented, class-based এবং type-safe programming language। Google Dart তৈরি করেছে এবং Flutter framework-এর মূল programming language হিসেবে Dart ব্যবহৃত হয়।

এই Dart Programming Tutorial in Bangla গাইডে একেবারে নতুনদের জন্য programming-এর মৌলিক বিষয় থেকে শুরু করে intermediate ও advanced concepts পর্যন্ত বাস্তব code example-সহ আলোচনা করা হয়েছে। Java, JavaScript, C বা C++ সম্পর্কে পূর্ব অভিজ্ঞতা থাকলে Dart শেখা আরও সহজ হতে পারে। তবে একেবারে beginner হলেও এই গাইড অনুসরণ করতে পারবে।

এই টিউটোরিয়ালে যা শিখবে

  • Dart programming কী এবং কেন শিখবে
  • Dart SDK ইনস্টল ও কোড রান করা
  • Variables, data types এবং operators
  • Conditions, loops এবং functions
  • List, Set এবং Map
  • Object-Oriented Programming (OOP)
  • Null Safety এবং exception handling
  • Future, async, await এবং Stream
  • Modern Dart features এবং Flutter development

1. What Is Dart Programming?

Dart হলো একটি general-purpose programming language, যা client-side application development-এর জন্য বিশেষভাবে উপযোগী। Dart দিয়ে mobile app, web application, desktop software এবং command-line tools তৈরি করা যায়। এর syntax তুলনামূলকভাবে পরিষ্কার এবং type system developer-কে অনেক ধরনের ভুল আগেই শনাক্ত করতে সাহায্য করে।

Dart-এর উল্লেখযোগ্য বৈশিষ্ট্যগুলো হলো:

  • Type Safety: variable-এর type অনুযায়ী ভুল value ব্যবহারের মতো অনেক ভুল শনাক্ত করতে সাহায্য করে।
  • Null Safety: অনিচ্ছাকৃত null-related error কমাতে সাহায্য করে।
  • Object-Oriented: class, object, inheritance, abstraction এবং polymorphism ব্যবহার করা যায়।
  • Async Programming: Future, async, await এবং Stream দিয়ে asynchronous কাজ পরিচালনা করা যায়।
  • Cross-Platform Development: Flutter-এর মাধ্যমে একাধিক platform-এর application তৈরি করা যায়।
  • Developer Tools: Dart SDK-তে formatter, analyzer, testing এবং command-line development tools রয়েছে।

2. How to Install Dart SDK

Dart code লেখার জন্য Dart SDK প্রয়োজন। অফিসিয়াল Dart website থেকে installation guide অনুসরণ করতে পারো। Flutter developer হলে Flutter SDK-এর সঙ্গে Dart SDK-ও পাওয়া যায়; আলাদাভাবে Dart install করার প্রয়োজন সাধারণত হয় না।

Official Resources:

ইনস্টলেশন সম্পন্ন হলে terminal বা command prompt-এ নিচের command ব্যবহার করো:

dart --version

DartPad ব্যবহার করলে কোনো software install না করেই browser-এর মধ্যে Dart code লিখে এবং run করে অনুশীলন করতে পারবে।

3. Your First Dart Program

প্রতিটি সাধারণ Dart program-এর execution শুরু হয় main() function থেকে। Console-এ কোনো text দেখানোর জন্য print() ব্যবহার করা হয়।

void main() {
  print('Hello, World!');
  print('Welcome to Dart Programming');
}

Output:

Hello, World!
Welcome to Dart Programming

এখানে void বোঝায় function কোনো value return করবে না। main() হলো program-এর entry point এবং print() output দেখায়।

4. Variables in Dart

Variable হলো এমন একটি নাম, যার মাধ্যমে কোনো value বা object reference ব্যবহার করা যায়। Dart-এ variable-এর type সরাসরি লেখা যায় অথবা var ব্যবহার করে compiler-কে type নির্ধারণ করতে দেওয়া যায়।

void main() {
  String name = 'Rahul';
  int age = 25;
  double salary = 35000.50;
  bool isDeveloper = true;

  var country = 'Bangladesh';

  print(name);
  print(age);
  print(salary);
  print(isDeveloper);
  print(country);
}

var, final এবং const-এর পার্থক্য

var দিয়ে variable declare করলে Dart প্রাথমিক value থেকে type নির্ধারণ করতে পারে। final variable একবার assign করার পর অন্য value assign করা যায় না। const compile-time constant value-এর জন্য ব্যবহার করা হয়।

void main() {
  var city = 'Dhaka';
  city = 'Rajshahi';

  final currentYear = DateTime.now().year;
  const pi = 3.14159;

  print(city);
  print(currentYear);
  print(pi);
}

মনে রাখবে: var মানেই dynamically typed নয়। Dart সাধারণত প্রথম value থেকে variable-এর type নির্ধারণ করে।

5. Data Types in Dart

Dart-এর built-in data types ব্যবহার করে বিভিন্ন ধরনের তথ্য সংরক্ষণ করা যায়। গুরুত্বপূর্ণ type-গুলো হলো:

  • int — পূর্ণসংখ্যা, যেমন 10 বা 100
  • double — দশমিক সংখ্যা, যেমন 3.14
  • String — text, যেমন 'Hello'
  • bool — true অথবা false
  • List — একাধিক value-এর ordered collection
  • Set — unique value-এর collection
  • Map — key-value জোড়ার collection
  • Object এবং dynamic — বিভিন্ন ধরনের value নিয়ে কাজ করার জন্য বিশেষ type
void main() {
  int number = 100;
  double price = 99.99;
  String language = 'Dart';
  bool isAvailable = true;

  print('Number: $number');
  print('Price: $price');
  print('Language: $language');
  print('Available: $isAvailable');
}

6. Operators in Dart

Operators ব্যবহার করে arithmetic, comparison, logical এবং assignment operation করা যায়।

  • Arithmetic: + - * / ~/ %
  • Comparison: == != > < >= <=
  • Logical: && || !
  • Assignment: = += -= *=
void main() {
  int a = 20;
  int b = 6;

  print(a + b);  // 26
  print(a - b);  // 14
  print(a * b);  // 120
  print(a / b);  // 3.333...
  print(a ~/ b); // 3
  print(a % b);  // 2

  print(a > b);  // true
}

এখানে / division-এর ফল decimal number হিসেবে দেয়, আর ~/ integer division-এর ফল দেয়।

7. Conditional Statements: if, else and switch

কোনো condition অনুযায়ী ভিন্ন কাজ করতে if, else if, else এবং switch ব্যবহার করা হয়।

void main() {
  int marks = 85;

  if (marks >= 80) {
    print('Grade A+');
  } else if (marks >= 70) {
    print('Grade A');
  } else if (marks >= 60) {
    print('Grade A-');
  } else {
    print('Needs Improvement');
  }
}

একটি নির্দিষ্ট value অনুযায়ী একাধিক case পরিচালনার জন্য switch ব্যবহার করা যায়।

void main() {
  String day = 'Friday';

  switch (day) {
    case 'Friday':
      print('Weekend');
    case 'Sunday':
      print('Working day');
    default:
      print('Regular day');
  }
}

উপরের উদাহরণে Dart-এর modern switch statement ব্যবহার করা হয়েছে। এটি traditional switch-এর মতো fall-through করে না। একটি matching case-এর statement শেষ হলে পরবর্তী case-এর statement স্বয়ংক্রিয়ভাবে চালানো হয় না।

8. Loops in Dart

একই ধরনের কাজ বারবার করার জন্য loop ব্যবহার করা হয়। Dart-এ for, for-in, while এবং do-while loop রয়েছে।

For Loop

void main() {
  for (int i = 1; i <= 5; i++) {
    print('Number: $i');
  }
}

While Loop

void main() {
  int i = 1;

  while (i <= 5) {
    print(i);
    i++;
  }
}

For-in Loop

void main() {
  List<String> languages = [
    'Dart',
    'Flutter',
    'Python'
  ];

  for (final language in languages) {
    print(language);
  }
}

9. Functions in Dart

Function হলো নির্দিষ্ট কাজ সম্পন্ন করার জন্য reusable code block। Function ব্যবহার করলে একই code বারবার না লিখে প্রয়োজন অনুযায়ী call করা যায়।

int add(int a, int b) {
  return a + b;
}

void main() {
  int result = add(10, 20);
  print(result);
}

Output: 30

এক লাইনের function-এর জন্য arrow syntax ব্যবহার করা যায়।

int square(int number) => number * number;

void main() {
  print(square(5));
}

Dart named parameter-ও সমর্থন করে। বড় project-এ named parameter ব্যবহার করলে function call বোঝা সহজ হয়।

void introduce({
  required String name,
  int age = 18,
}) {
  print('My name is $name and I am $age years old.');
}

void main() {
  introduce(name: 'Rahul', age: 25);
}

10. Lists, Sets and Maps

List

List-এ একাধিক value নির্দিষ্ট order-এ রাখা যায়। একই value একাধিকবারও থাকতে পারে।

void main() {
  List<String> fruits = [
    'Apple',
    'Banana',
    'Mango'
  ];

  fruits.add('Orange');
  print(fruits);
  print(fruits[0]);
}

Set

Set unique element সংরক্ষণ করে। একই value একাধিকবার যোগ করলে collection-এ সেটি একবারই থাকে।

void main() {
  Set<int> numbers = {1, 2, 3, 3, 4};

  print(numbers);
}

Map

Map key-value pair আকারে data সংরক্ষণ করে। API response বা user profile-এর data নিয়ে কাজ করার সময় Map প্রায়ই ব্যবহৃত হয়।

void main() {
  Map<String, dynamic> user = {
    'name': 'Rahul',
    'age': 25,
    'isDeveloper': true,
  };

  print(user['name']);
  print(user['age']);
}

বাস্তব application-এ বড় বা গুরুত্বপূর্ণ data structure-এর জন্য সব জায়গায় dynamic ব্যবহার না করে নির্দিষ্ট type অথবা model class ব্যবহার করা ভালো।

11. Object-Oriented Programming (OOP)

Dart একটি object-oriented language। OOP ব্যবহার করে data এবং সংশ্লিষ্ট behavior-কে class ও object-এর মধ্যে সাজানো যায়। এর গুরুত্বপূর্ণ ধারণা হলো class, object, encapsulation, inheritance, abstraction এবং polymorphism।

Class and Object

class Student {
  String name;
  int age;

  Student({
    required this.name,
    required this.age,
  });

  void displayInfo() {
    print('Name: $name');
    print('Age: $age');
  }
}

void main() {
  final student = Student(
    name: 'Rahul',
    age: 25,
  );

  student.displayInfo();
}

এখানে Student হলো class এবং student হলো সেই class-এর একটি object। Constructor object তৈরি করার সময় প্রয়োজনীয় data গ্রহণ করে।

Inheritance

একটি class অন্য class-এর property ও behavior extend করতে পারে। একে inheritance বলে।

class Animal {
  void eat() {
    print('Animal is eating');
  }
}

class Dog extends Animal {
  void bark() {
    print('Dog is barking');
  }
}

void main() {
  final dog = Dog();

  dog.eat();
  dog.bark();
}

বড় application-এ OOP ব্যবহার করলে code reuse, separation of responsibilities এবং maintenance সহজ হতে পারে। তবে ছোট project-এ অপ্রয়োজনীয় class তৈরি না করে সহজ design রাখা উচিত।

12. Null Safety in Dart

Null Safety Dart-এর অত্যন্ত গুরুত্বপূর্ণ একটি feature। এটি এমন অনেক error আগেই শনাক্ত করতে সাহায্য করে, যেখানে কোনো value null থাকা সত্ত্বেও সেটির method বা property ব্যবহার করা হয়।

সাধারণ type-এর variable-এ null রাখা যায় না। Null অনুমোদন করতে type-এর শেষে ? ব্যবহার করা হয়।

void main() {
  String name = 'Rahul';
  String? nickname;

  print(name);
  print(nickname);

  nickname = 'RR';
  print(nickname);
}

Nullable variable-এর value ব্যবহার করার আগে null check করা যেতে পারে।

void main() {
  String? username;

  print(username ?? 'Guest');

  username = 'Rahul';
  print(username ?? 'Guest');
}

?? হলো null-coalescing operator। বাম পাশের value null হলে ডান পাশের default value ব্যবহার করা হয়। এটি API response, optional profile data এবং configuration-এর ক্ষেত্রে কাজে লাগে।

13. Exception Handling

Program চালানোর সময় অপ্রত্যাশিত সমস্যা দেখা দিলে exception handling ব্যবহার করে সেটি নিয়ন্ত্রণ করা যায়। Dart-এ try, on, catch এবং finally ব্যবহার করা হয়।

void main() {
  try {
    int result = 10 ~/ 0;
    print(result);
  } on IntegerDivisionByZeroException {
    print('Cannot divide an integer by zero.');
  } catch (error) {
    print('An unexpected error occurred: $error');
  } finally {
    print('Operation completed.');
  }
}

বাস্তব project-এ exception ধরার পাশাপাশি উপযুক্ত error message দেখানো এবং প্রয়োজন অনুযায়ী logging করা উচিত। সব exception নীরবে ignore করা ভালো practice নয়।

14. Asynchronous Programming: Future, async and await

API request, database operation এবং file processing-এর মতো কাজ সম্পন্ন হতে সময় লাগতে পারে। Dart-এ asynchronous programming-এর জন্য Future, async এবং await ব্যবহার করা হয়।

Future<String> fetchUser() async {
  await Future.delayed(
    const Duration(seconds: 2),
  );

  return 'Rahul';
}

Future<void> main() async {
  print('Loading user...');

  try {
    final user = await fetchUser();
    print('User: $user');
  } catch (error) {
    print('Failed to load user: $error');
  }
}

এখানে Future<String> বোঝায় function ভবিষ্যতে একটি String result দেবে। await ওই asynchronous operation-এর result পাওয়ার জন্য অপেক্ষা করে, কিন্তু পুরো application-এর execution-কে সাধারণ synchronous blocking operation-এ পরিণত করে না।

What Is a Stream?

Stream দিয়ে সময়ের সঙ্গে একাধিক asynchronous value পাওয়া যায়। যেমন live sensor data, ধারাবাহিক event অথবা database change stream আকারে সরবরাহ করা হতে পারে।

Stream<int> countNumbers() async* {
  for (int i = 1; i <= 3; i++) {
    await Future.delayed(
      const Duration(seconds: 1),
    );

    yield i;
  }
}

Future<void> main() async {
  await for (final number in countNumbers()) {
    print(number);
  }
}

15. Modern Dart Features

Dart-এর আধুনিক সংস্করণগুলোতে আরও কিছু শক্তিশালী language feature রয়েছে। Flutter developer হিসেবে এগুলো জানা উপকারী।

A. Records

Record ব্যবহার করে আলাদা named class না বানিয়েও একাধিক value একসঙ্গে return করা যায়।

(String, int) getUserInfo() {
  return ('Rahul', 25);
}

void main() {
  final (name, age) = getUserInfo();

  print(name);
  print(age);
}

B. Enums

নির্দিষ্ট কিছু predefined value-এর মধ্যে নির্বাচন করতে enum ব্যবহার করা যায়।

enum AppStatus {
  initial,
  loading,
  success,
  failure,
}

void main() {
  AppStatus status = AppStatus.success;

  if (status == AppStatus.success) {
    print('Data loaded successfully');
  }
}

C. Generics

Generics-এর সাহায্যে reusable এবং type-safe class বা function তৈরি করা যায়।

class Box<T> {
  final T value;

  Box(this.value);
}

void main() {
  final numberBox = Box<int>(100);
  final textBox = Box<String>('Dart');

  print(numberBox.value);
  print(textBox.value);
}

16. How Dart Is Used in Flutter Development

Flutter হলো Google-এর cross-platform UI framework এবং Dart হলো Flutter application লেখার প্রধান programming language। Dart দিয়ে application-এর business logic, data models, API communication এবং asynchronous operations তৈরি করা যায়; Flutter দিয়ে user interface তৈরি করা হয়।

Flutter developer হওয়ার জন্য Dart-এর যেসব বিষয় ভালোভাবে শেখা দরকার:

  • Variables, data types এবং operators
  • Functions, classes এবং constructors
  • Inheritance, abstraction এবং polymorphism
  • List, Map, Set এবং generics
  • Null Safety এবং exception handling
  • Future, async-await এবং Stream
  • JSON parsing এবং REST API integration
  • Package management এবং clean code principles

Flutter-এ API থেকে JSON data গ্রহণ করার একটি সাধারণ উদাহরণ:

import 'dart:convert';

void main() {
  const jsonString = '''
  {
    "name": "Rahul",
    "role": "Flutter Developer"
  }
  ''';

  final Map<String, dynamic> user =
      jsonDecode(jsonString) as Map<String, dynamic>;

  print(user['name']);
  print(user['role']);
}

এই উদাহরণটি JSON text-কে Dart Map-এ রূপান্তর করে। বাস্তব application-এ model class, validation এবং error handling ব্যবহার করা আরও ভালো পদ্ধতি।

Flutter সম্পর্কে আরও জানতে Flutter Official Website এবং Flutter Documentation দেখতে পারো।

17. Best Practices for Dart Developers

শুধু code লিখতে পারাই যথেষ্ট নয়; maintainable, readable এবং reliable code লেখাও গুরুত্বপূর্ণ। Dart development-এ নিচের practice-গুলো অনুসরণ করো:

  • সম্ভব হলে variable ও function-এর নির্দিষ্ট type উল্লেখ করো।
  • পরিবর্তন করার প্রয়োজন না হলে final ব্যবহার করো।
  • প্রয়োজন ছাড়া dynamic ব্যবহার করা এড়িয়ে চলো।
  • Null Safety-এর সুবিধা কাজে লাগাও এবং null check সঠিকভাবে করো।
  • একটি function-এ অপ্রয়োজনীয় অনেক কাজ না রেখে ছোট ও নির্দিষ্ট দায়িত্ব দাও।
  • Meaningful variable, function এবং class name ব্যবহার করো।
  • Formatter এবং static analyzer ব্যবহার করো।
  • Unit test লিখে গুরুত্বপূর্ণ business logic যাচাই করো।
  • Asynchronous operation-এর error handling নিশ্চিত করো।
  • Official documentation অনুসরণ করে নতুন language feature শেখো।

Dart project-এর code format করতে ব্যবহার করতে পারো:

dart format .
dart analyze
dart test

এখানে dart test চালানোর জন্য project-এ উপযুক্ত test setup এবং test dependency থাকতে হবে।

18. A 30-Day Dart Learning Roadmap

নিয়মিত অনুশীলনের জন্য নিচের পরিকল্পনাটি অনুসরণ করতে পারো। এটি একটি প্রস্তাবিত roadmap; শেখার গতি অনুযায়ী সময় বাড়ানো বা কমানো যাবে।

সময় যা শিখবে
Day 1–5 Syntax, variables, data types, operators এবং conditions
Day 6–10 Loops, functions, List, Set এবং Map
Day 11–15 Classes, constructors, inheritance এবং OOP
Day 16–20 Null Safety, exceptions, generics এবং modern Dart
Day 21–25 Future, async-await, Stream এবং JSON
Day 26–30 Mini projects এবং Flutter fundamentals

19. Beginner-Friendly Dart Project Ideas

শুধু tutorial পড়লে programming দক্ষতা পুরোপুরি তৈরি হয় না। নিজের হাতে project তৈরি করে শেখা সবচেয়ে কার্যকর পদ্ধতিগুলোর একটি। শুরুতে নিচের project-গুলো তৈরি করার চেষ্টা করো:

  1. Simple Calculator: Addition, subtraction, multiplication এবং division।
  2. Student Grade Calculator: Marks অনুযায়ী grade নির্ধারণ।
  3. Expense Tracker: খরচের হিসাব এবং total calculation।
  4. To-Do List: Task add, update, delete এবং complete করা।
  5. Quiz Application: প্রশ্ন, উত্তর, score এবং result management।
  6. Weather App: API থেকে data এনে আবহাওয়ার তথ্য দেখানো।

প্রথম কয়েকটি project command-line Dart দিয়ে তৈরি করতে পারো। এরপর Flutter ব্যবহার করে এগুলোর জন্য graphical user interface তৈরি করো।

20. Frequently Asked Questions (FAQ)

Dart programming কি beginners-দের জন্য সহজ?

হ্যাঁ, Dart-এর syntax তুলনামূলকভাবে পরিষ্কার এবং এতে type inference, null safety ও আধুনিক programming features রয়েছে। নিয়মিত code practice করলে beginner-রাও ধাপে ধাপে শিখতে পারে।

Dart শিখতে কি আগে Java বা Python জানা প্রয়োজন?

না। আগে অন্য programming language জানা বাধ্যতামূলক নয়। তবে programming-এর basic concepts জানা থাকলে শেখার গতি বাড়তে পারে।

Flutter শেখার আগে কি Dart শিখতে হবে?

Flutter শেখার আগে Dart-এর fundamentals শেখা অত্যন্ত উপকারী। Variables, functions, classes, collections, null safety এবং asynchronous programming ভালোভাবে বুঝলে Flutter-এর widget ও application logic শেখা সহজ হয়।

Dart দিয়ে কি শুধু Android app তৈরি করা যায়?

না। Flutter-এর মাধ্যমে Dart ব্যবহার করে Android, iOS, web এবং desktop application তৈরি করা যায়। Dart নিজেও command-line tools এবং server-side application তৈরিতে ব্যবহার করা যায়।

Dart programming কোথায় practice করব?

কোনো installation ছাড়াই DartPad-এ code practice করতে পারো। আরও বিস্তারিত শেখার জন্য Dart Language Documentation ব্যবহার করো।

Conclusion

Dart programming শেখা Flutter developer হওয়ার একটি গুরুত্বপূর্ণ ভিত্তি। Variables, data types, conditions, loops, functions, OOP, null safety এবং asynchronous programming-এর ধারণাগুলো ভালোভাবে আয়ত্ত করতে পারলে বাস্তব application তৈরির পথে এগিয়ে যেতে পারবে।

শুরুতে প্রতিদিন ছোট ছোট code example নিজে লিখে run করো। এরপর calculator, quiz app এবং expense tracker-এর মতো project তৈরি করো। Dart-এর official documentation নিয়মিত অনুসরণ করলে language-এর নতুন feature সম্পর্কেও জানতে পারবে।

তোমার পরবর্তী পদক্ষেপ: DartPad খুলে প্রথমে Hello World program run করো এবং তারপর এই tutorial-এর প্রতিটি code example নিজে লিখে অনুশীলন করো।

Educational content about Dart programming, coding examples, and Flutter development. Code examples are intended for learning and practice.

Engr. Md. Rahul Reza

Written by Engr. Md. Rahul Reza

Full Stack & Cross-Platform Flutter Developer (Android, iOS, Web, Desktop) specializing in Odoo ERP, FastAPI, and PHP REST APIs. Passionate about software architecture, Dart, and high-performance engineering.

Get In Touch

Have an exciting mobile app project, custom Odoo ERP requirement, or full-time opportunity? Let’s connect and build something impactful together.

Email: contact@rahulreza.com