dev-resources.site
for different kinds of informations.
Class in dart
Published at
12/30/2024
Categories
dart
programming
tutorial
Author
coder_d295cd12743e7d146c7
Author
25 person written this
coder_d295cd12743e7d146c7
open
void main() {
print('Om Namah Shivay');
Roti roti = Roti(heatReguired: 50.0, name: 'wheat', water: 26.23);
print(roti.process());
}
//class
class ingredient {
late String name;
late double water;
ingredient({required this.name, required this.water});
}
class Roti extends ingredient {
late double heatReguired;
Roti({required this.heatReguired, required super.name, required super.water});
String process() {
return '$heatReguired is the heat needed for making roti that take $name and $water water';
}
}
I understood
dart Article's
30 articles in total
Flutter vs React Native in 2025: A Comprehensive Comparison
read article
Deploying Flutter Web Apps using Globe.dev
read article
Journey to Clean Architecture: Wrestling with a 10k Line Flutter Legacy Codebase
read article
5 Essential Flutter Widgets Every Developer Should Master
read article
Mastering Nested Navigation in Flutter with `go_router` and a Bottom Nav Bar
read article
Flutter for Beginners: From Installation to Your First App
read article
Building a Beautiful Login Screen in Flutter: A Complete Guide
read article
Flutter Design Pattern Bussines Logic Component (BLOC)
read article
Create Different Type of Flavor on Flutter Application
read article
Handling PathAccessException in iOS for File Download
read article
Common mistakes in Flutter article series
read article
Design Pattern in Flutter MVVM
read article
7 Ways to Refactor Your Flutter Application
read article
WebRTC vs Agora Video SDK vs ZegoCloud for Video Calling in Flutter: A Comprehensive Comparison
read article
From Chaos to Control: The Day I Learned the Magic of Debouncing in Flutter 🚀
read article
Syntax of comments in dart
read article
My first Dart program
read article
Integrate the Gemini REST API in Flutter: Unlock Powerful Generative Language Models for Your Next App
read article
Dart Operators Explained in Bangla
read article
Control Flow Statements (switch and case) in Dart (Bangla)
read article
break, continue in Dart programming (Bangla)
read article
Control Flow Statements ( for, while, do-while ) in dart (Bangla)
read article
Control Flow Statements ( if, else, else if) in dart (Bangla)
read article
Type inference in Dart programming (Bangla)
read article
var, final, const in dart programming
read article
We are in Top 5 Flutter Of The Year Apps List
read article
Class in dart
currently reading
Function in dart
read article
Map in Dart
read article
List in Dart
read article
Featured ones: