facebook twitter hatena line email

「Flutter/UI」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「==body内に複数行textを表示== body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: <Widget>[...」)
 
 
(同じ利用者による、間の36版が非表示)
行1: 行1:
==body内に複数行textを表示==
+
[[flutter/UI/Text]]
      body: Center(
+
        child: Column(
+
          mainAxisAlignment: MainAxisAlignment.center,
+
          children: <Widget>[
+
            Text(
+
              'hello',
+
            ),
+
            Text(
+
              '$_counter',
+
              style: Theme.of(context).textTheme.display1,
+
            ),
+
            RaisedButton(
+
              child: Text('Back to MyPage 1'),
+
              onPressed: () {
+
                Navigator.pop(context);
+
              },
+
            ),
+
          ],
+
        ),
+
      ),
+
  
==body内にボタンを表示==
+
[[flutter/UI/Button]]
      body: Center(
+
 
        child: Column(
+
[[flutter/UI/Container]]
          mainAxisAlignment: MainAxisAlignment.center,
+
 
          children: <Widget>[
+
[[flutter/UI/TextField]]
            Text(
+
 
              'hello',
+
[[flutter/UI/ListView]] [dir]
            ),
+
 
            RaisedButton(
+
[[flutter/UI/PageView]]
              child: Text('button1'),
+
 
              onPressed: () {
+
[[flutter/UI/ListTile]]
                // ボタン処理
+
 
              },
+
[[flutter/UI/SwitchListTile]]
            ),
+
 
          ],
+
[[flutter/UI/BottomNavigationBar]]
        ),
+
 
      ),
+
[[flutter/UI/DropdownButton]]
 +
 
 +
[[flutter/UI/Scaffold]]
 +
 
 +
[[flutter/UI/CircleAvatar]]
 +
 
 +
[[flutter/UI/Draggable]]
 +
 
 +
[[flutter/UI/Cupertino]] [dir]
 +
 
 +
[[flutter/UI/余白]]
 +
 
 +
[[flutter/UI/ダークモード]]
 +
 
 +
[[flutter/UI/横縦並び・比率]]
 +
 
 +
[[flutter/UI/別widget切出]]
 +
 
 +
[[flutter/UI/その他]]

2020年1月20日 (月) 23:14時点における最新版

flutter/UI/Text

flutter/UI/Button

flutter/UI/Container

flutter/UI/TextField

flutter/UI/ListView [dir]

flutter/UI/PageView

flutter/UI/ListTile

flutter/UI/SwitchListTile

flutter/UI/BottomNavigationBar

flutter/UI/DropdownButton

flutter/UI/Scaffold

flutter/UI/CircleAvatar

flutter/UI/Draggable

flutter/UI/Cupertino [dir]

flutter/UI/余白

flutter/UI/ダークモード

flutter/UI/横縦並び・比率

flutter/UI/別widget切出

flutter/UI/その他