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() { | |
print(0.2 + 0.1); | |
} |
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
// The purpose of this example is hightlight that there is no point | |
// using a try/catch block to catch an exception only to simply | |
// throw/rethrow it. Only catch it if you intend to do something with it. | |
void main() async { | |
final test = TryCatchExample(); | |
try { test.methodThatThrowsException(); } catch (e) { print(e); } | |
try { test.methodWithoutTryCatch(); } catch (e) { print(e); } |
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
{ | |
"meta": { | |
"theme": "elegant" | |
}, | |
"basics": { | |
"name": "Rhisiart ap Gwilym", | |
"label": "Software Engineer", | |
"summary": "I'm an experienced software engineer who designs/develops solutions using technologies such as Amazon Web Services (AWS), Java, Android and now Google Flutter. Clients include the BBC, DVLA, IBM, Hewlett-Packard, The AA, The Wildlife Trusts, Intel and Rolls-Royce in countries such as the UK, Ireland, New Zealand, Switzerland, Belgium and Italy.", | |
"phone": "+44 7981 756 521", | |
"picture": "https://hiafi-cv.s3.eu-west-2.amazonaws.com/headshot.png", |
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
<div id="wrapper"> | |
<canvas id="canvas" width="450" height="450"></canvas> | |
</div> |