5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

https://flutter.io/ にも、チュートリアルがあるのですが。
最初に目撃するコードが、少し長いです。

そこで、 "Hello, World" を書いて見ました。

main.dart
import 'package:flutter/widgets.dart'as sky;

void main() {
  sky.runApp( new sky.Directionality(
    textDirection: sky.TextDirection.ltr,
    child: new sky.Center (
        child: new sky.Text("Hello World",
          style: new sky.TextStyle(color:new sky.Color.fromARGB(0xff,0xff,0xff,0xff)))
    )
  ));
}

s_Screenshot_20180105-032912.png

どうでしょうか。 短くて、Helo World っぽい!!

Flutter 関連の 私のメモ

試したことをカキカキしています。
Dart x Flutter Memo (0) [2018,]

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?