GitHub

    Table of contents

  1. 示例
  2. 相关链接

ButtonBar

Edit this page

An end-aligned row of buttons.

示例

ButtonBar(
  children: <Widget>[
    FlatButton(
      child: Text('Ok'),
      color: Colors.blue,
      onPressed: () {/** */},
    ),
    FlatButton(
      child: Text('Cancel'),
      color: Colors.blue,
      onPressed: () {/** */},
    ),
  ],
)

相关链接