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
//Create by Kishore Kumar G on 22/09/2018 (https://github.com/kishorekumar080297) | |
void main() { | |
//superman is an object of class Hero | |
var superman = new Hero('Clark'); | |
superman.flyPower(); | |
//spiderman is an object of class Hero | |
var spiderman = new Hero('Peter'); | |
spiderman.webPower(); | |
} |
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
//Create by Kishore Kumar G on 22/09/2018 (https://github.com/kishorekumar080297) | |
void main() { | |
print("Superheroes:"); | |
var superheroes = ['hulk', 'superman', 'batman', 'flash', 'iron man']; | |
superheroes.forEach((hero) { | |
print('At position: ${superheroes.indexOf(hero)+1} Next hero is ${hero}'); | |
}); | |
print('\n'); | |
print("Programming Languages:"); | |
var languages = ['Python', 'C++', 'Java', 'C', 'Ruby']; |
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
//Create by Kishore Kumar G on 11/09/2018 (https://github.com/kishorekumar080297) | |
void main() { | |
var score = highScore(); | |
print('My High Score is $score'); | |
var msg = helloWorld(); | |
print('Greetings: $msg'); | |
} | |
String highScore() { | |
return '300pts'; |
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
.action-sheet-md { | |
text-align: center; | |
} | |
.action-sheet-md .action-sheet-wrapper { | |
margin: constant(safe-area-inset-top) auto constant(safe-area-inset-bottom); | |
margin: env(safe-area-inset-top) auto env(safe-area-inset-bottom); | |
} |
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
$(document).ready(function(){ | |
$('.modal').modal({ | |
dismissible: true, | |
opacity: .5, | |
inDuration: 300, | |
outDuration: 200, | |
startingTop: '4%', | |
endingTop: '10%', | |
); | |
}); |