This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
void main() { | |
loveCalculator(); | |
} | |
void loveCalculator(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (track == 'clear') {goStrainght();} | |
else {turnRight();} | |
//if (Result >70){ | |
//print('A') | |
//}else if (Result >30){ | |
//print('b') | |
//}else{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |