Skip to content

Instantly share code, notes, and snippets.

View caadif's full-sized avatar

Fahdi Abdirahman caadif

View GitHub Profile
@caadif
caadif / Love Calculator code
Last active June 21, 2022 04:34
Dart code
import 'dart:math';
void main() {
loveCalculator();
}
void loveCalculator(){
@caadif
caadif / Dart If and Else code
Last active June 21, 2022 04:41
If and Else
if (track == 'clear') {goStrainght();}
else {turnRight();}
//if (Result >70){
//print('A')
//}else if (Result >30){
//print('b')
//}else{
@caadif
caadif / Dart List code
Last active June 21, 2022 03:37
My List Code
void main() {
List<String>myList = [
'amina',
'farah',
'salah',
'omar',
];
// print(myList[3]); //number's name from the list
//print(myList.indexOf('salah')); // name's number from the list
myList.add('hassan'); // add new name to your from the list