Leanpub Header

Skip to main content

เกิดอยากจะเขียน App ด้วย Flutter

บันทึกการศึกษาเขียน Flutter ของผู้แต่งเอง

บันทึกการศึกษาเขียน Flutter ของผู้แต่งเอง

Free With Membership

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
32
Readers
About

About

About the Book

หนังสือเล่มนี้ ผมเขียนขึ้นมาเพื่อจดว่าผมเริ่มศึกษา Flutter อย่างไร

และ คิดว่าจะนำความรู้ที่ได้มา ไปแบ่งปันต่ออย่างไร

ผมไม่เคยเขียน Dart มาก่อน

และ ผมก็เริ่มเขียน Flutter จาก 0 เหมือนทุกคน

อาจจะมีส่วนไหนเข้าใจผิดไปบ้างตอนจด Note

ซึ่งถ้าผมเจอ ผมก็จะกลับมาแก้ย้อนหลังให้

ถ้าใครเจอ จะแนะนำอะไร สามารถแนะนำได้ทันทีครับ

Price

Pick Your Price...

With Membership

Free!

$7.99

You pay

$7.99

Author earns

$6.39
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 0)

0
The author will earn $0.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Tanasak Tantitarntong

I'm a self taught programmer with over 10 years experience.

I joined Leanpub to share my knowledge and experience.

I started my own company, a software house, in the year 2010.

I coded lots of projects throughout those years trying out lots of stuffs like

ObjectiveC, Ruby on Rails, Nodejs, Swift, Java, Kotlin, Dart, Golang, ionic, react-native, Vue, React, ....

Deployed them on a bunch for infrastructures

Bare Metal, Government Cloud, VPS, Digital Ocean, AWS, Google Cloud Platform, and on some Serverless arch

Taught Internet Programming to 70+ students in University as part-time lecturer in Thailand.

Trained over 100+ people in iOS Basic and Advance courses ages ago when there were no Swift.

Taught high school math for a year, 36 hours a week.

My dream is to start a school where all students can do what the love. (and not hate Math)

Obviously, it takes a lot of money to start a school. If you can fund me a few million $ to start a school in Thailand, Please contact me.

I hope you enjoy my books.

Visit my youtube channel at https://youtube.com/sakkosama

Contents

Table of Contents

1เตรียมเครื่อง

  1. 1.1สำหรับ Mac
  2. 1.2สำหรับคนใช้ windows
  3. 1.3วิธีใช้ fvm
  4. fvm releases
  5. fvm install
  6. fvm use
  7. fvm use -f
  8. fvm global
  9. fvm flutter
  10. 1.4Text Editor

2สร้าง Project แรก

  1. 2.1Running Your Application
  2. 2.2ใช้ VSCode เพื่อทำการ Debug
  3. 2.3Hot reload
  4. 2.4เริ่มแก้ไข Code
  5. 2.5Adding External Package
  6. 2.6Stateless vs Stateful Widget
  7. 2.7Stateful Widget
  8. 2.8Listview and Stateful Widget
  9. 2.9Divider ใน ListView

3Dart

  1. 3.1Overview
  2. Dart Libraries
  3. 3.2Platforms
  4. 3.3Samples
  5. Hello world
  6. 3.4Variables
  7. 3.5Variable Null Safety
  8. if else
  9. for in
  10. for loop
  11. while loop
  12. 3.6Functions
  13. 3.7Comments
  14. 3.8Import
  15. 3.9Printing
  16. 3.10Assert

4Dart Class

  1. 4.1Class Members
  2. 4.2Constructor
  3. 4.3null
  4. 4.4final
  5. 4.5fromJson
  6. 4.6Named Constructor
  7. 4.7Subclassing Constructor
  8. 4.8Class Variable
  9. 4.9Constant constructor
  10. 4.10Methods in class
  11. 4.11Operators
  12. 4.12Getter Setters
  13. 4.13Abstract Class
  14. 4.14Implicit Interface
  15. 4.15overriding
  16. 4.16Mixins
  17. 4.17Summary

5Dart ก่อนจะกลับไป Flutter

  1. 5.1Future
  2. 5.2Async Await
  3. 5.3Exceptions

6Widget

  1. 6.1Real Hello, world
  2. 6.2Basic Widgets
  3. 6.3Material’s Widgets
  4. 6.4handle event
  5. 6.5Gesture Detector
  6. 6.6Handling Simple State
  7. 6.7Stateless with Stateful

7Layout

8Basic Routes with GETX

  1. 8.1Installing getx
  2. 8.2Create Project with getx
  3. 8.3Files / Folders Structure
  4. 8.4Creating new page
  5. 8.5Search field
  6. 8.6Show Manga Detail Page

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub