🐤

【Flutter】十字キーボタン(コピペ用)

2020/10/28に公開

Flutterボタンウィジェット組み合わせ

十字キー(Cross Key)

Column(
  children: <Widget>[
    RaisedButton(
      onPressed: () {},
      child: Text('X'),
      shape: CircleBorder(),
    ),
    Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: <Widget>[
        RaisedButton(
          onPressed: () {},
          child: Text('Y'),
          shape: CircleBorder(),
        ),
        RaisedButton(
          onPressed: () {},
          child: Text('A'),
          shape: CircleBorder(),
        ),
      ],
    ),
    RaisedButton(
      onPressed: () {},
      child: Text('B'),
      shape: CircleBorder(),
    ),
  ],
),

Discussion