GitHub

    Table of contents

  1. 示例
  2. 相关链接

CupertinoButton

Edit this page

An iOS-style button.

示例

Column(
  mainAxisSize: MainAxisSize.min,
  children: <Widget>[
    CupertinoButton(
      child: Text('Button'),
      onPressed: () { /** */ },
    ),
    CupertinoButton.filled(
      child: Text('Button'),
      onPressed: () { /** */ },
    ),
  ],
)

相关链接