Skip to content

Instantly share code, notes, and snippets.

Working from home

Muhammad Umair Adil umair13adil

Working from home
View GitHub Profile
View Classes_In_Dart_Lesson_10.dart
void main() {
var apple = FoodClass(); = "Apple";
apple.color = "Red";
apple.calories = 100;
apple.isNatural = true;
print("${}, ${apple.calories}, ${apple.isNatural}, ${apple.color}");
View For_Loops_In_Dart_Lesson_9.dart
void main() {
for(var i = 1; i<=10; i++){
List list_1 = ["s1","s2","s3","s4","s5"];
for(var i=0; i<list_1.length; i++){
View If_Else_In_Dart_Lesson_8.dart
void main() {
var my_value = true;
if(my_value == true){
print("My value is True");
print("My value is False");
View Methods_in_Dart_Lesson_7.dart
void main() {
void my_function(String a1, int a2){
print("This is my function! $a1 $a2");
my_function("String 1", 1);
my_function("String 2", 2);
View Lists_in_Dart_Lesson_6.dart
void main() {
List my_list = ["s1","s2","s3","s4"];
//Size 4
var my_element1 = my_list[3];
View Relational_Logical_Dart_Lesson_Part5.dart
void main() {
var c1 = 10;
var c2 = 5;
var c3 = 10;
print("Is c1 Greater Than c2? Ans: ${c1 > c2}\n");
print("Is c1 Greater Than c2? Ans: ${c1 < c2}\n");
print("Is c2 Greater Than c1? Ans: ${c2 > c1}\n");
View Operators_Dart_Lesson_Part4.dart
void main() {
var c1 = 89;
var c2 = 50;
print("Addition Result: ${c1+c2}");
print("Subtraction Result: ${c1-c2}");
print("Multiplication Result: ${c1*c2}");
print("Division Result: ${c1/c2}");
umair13adil / Strings_Dart_Lesson_Part3.dart
Last active Jan 13, 2020
This is the sample code for Part3 Programming in Urdu.
View Strings_Dart_Lesson_Part3.dart
void main() {
var myString1 = "My String 1";
var myString2 = "My String 2";
var myString3;
//myString3 = myString1 + myString2;
//myString3 = 'My String 1' '\nMy String 2';
umair13adil / Lesson_1.dart
Created Jan 7, 2020
Learn Programming In Urdu Part 2 Tutorial (Dart)
View Lesson_1.dart
void main(){
print("This is my first course in Urdu 1.");
print("This is my first course in Urdu 2.");
print("This is my first course in Urdu 3.");
print("This is my first course in Urdu 4.");
umair13adil /
Last active Nov 16, 2019
Android Simple Login with Retrofit2
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.view.View;
You can’t perform that action at this time.