https://github.com/teerasej/nextflow-ionic-news-app nextflow-ionic-news-app-3 --branch login-start
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
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text('Create'), | |
), | |
body: Padding( | |
padding: const EdgeInsets.all(10.0), | |
child: Column( | |
crossAxisAlignment: CrossAxisAlignment.stretch, |
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
{ | |
"expo": { | |
"name": "nextflow-contact-book", | |
"slug": "nextflow-contact-book", | |
"privacy": "public", | |
"sdkVersion": "32.0.0", | |
"platforms": [ | |
"ios", | |
"android" | |
], |
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
// 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
const axios = require('axios'); // promised based requests - like fetch() | |
function getCoffee() { | |
return new Promise(resolve => { | |
setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
}); | |
} |
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
// Copyright 2019 Amaround Co.,Ltd. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// เรียน Dart และต่อยอดสร้างแอพ iOS และ Android ด้วย Google Flutter ดูที่นี่เลย https://nextflow.in.th/google-flutter-training/ | |
void main() { | |
var message = "Nextflow.in.th"; | |
var foundedYear = 2013; | |
print("${message} ก่อตั้งเมื่อปี"); |
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
// Copyright 2019 Amaround Co.,Ltd. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// เรียน Dart และต่อยอดสร้างแอพ iOS และ Android ด้วย Google Flutter ดูที่นี่เลย https://nextflow.in.th/google-flutter-training/ | |
void main() { | |
String message = "Nextflow.in.th"; | |
String foundedYear = "2013"; | |
print("${message} ก่อตั้งเมื่อปี" + foundedYear); |
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
// Copyright 2019 Amaround Co.,Ltd. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// เรียน Dart และต่อยอดสร้างแอพ iOS และ Android ด้วย Google Flutter ดูที่นี่เลย https://nextflow.in.th/google-flutter-training/ | |
void main() { | |
var price = 100; | |
var amount = 10; | |
var message = 'ผลลัพธ์ของ'; | |
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
// Copyright 2019 Amaround Co.,Ltd. All rights reserved. | |
// Use of this source code is governed by a BSD-style license | |
// เรียน Dart และต่อยอดสร้างแอพ iOS และ Android ด้วย Google Flutter ดูที่นี่เลย https://nextflow.in.th/google-flutter-training/ | |
void main() { | |
var price = 100; | |
var amount = 10; | |
var result = price * amount; | |
print(result); |
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
// Basic JavaScript object | |
postArray = [ | |
{ title: 'Aute officia commodo occaecat commodo do excepteur ex quis sint.' , message: 'Ad ex est elit id magna eu laborum cupidatat dolore officia quis eu labore dolor. Consequat anim ea labore reprehenderit cillum. Eu ea labore culpa cillum. Eu et reprehenderit nulla quis. Anim magna exercitation minim anim cupidatat cillum quis aliqua incididunt ut commodo reprehenderit. Ut labore occaecat aliqua esse excepteur et. Ea voluptate quis magna sunt Lorem aliqua culpa do irure sint mollit quis. Ea sunt eu in ipsum anim consequat consectetur do. Eiusmod id est nostrud laboris ullamco fugiat anim cillum et labore occaecat. Ex tempor pariatur nulla qui anim culpa.', createDate: new Date() } | |
, { title: 'Id dolore sunt mollit laboris esse veniam nostrud irure.' , message: 'Ad ex est elit id magna eu laborum cupidatat dolore officia quis eu labore dolor. Consequat anim ea labore reprehenderit cillum. Eu ea labore culpa cillum. Eu et reprehenderit nulla quis. Anim magna |