From 336006efa8fabd33c3962a58496273b4e084be6c Mon Sep 17 00:00:00 2001 From: GroovinChip Date: Wed, 5 Jul 2023 13:29:53 -0400 Subject: [PATCH] docs: update readme --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9c2f3ccb..cf586f34 100644 --- a/README.md +++ b/README.md @@ -639,18 +639,15 @@ complete a task. [Learn more](https://developer.apple.com/design/human-interface |--------------------------------------------|--------------------------------------------| | | | -{% note %} - -**Note:** native push buttons can be styled as text-only, text with an icon, or icon-only. Currently, text-only push buttons are supported. To create an icon-only button, use the `MacosIconButton` widget. - -{% endnote %} +ℹ️ **Note** ℹ️ +Native push buttons can be styled as text-only, text with an icon, or icon-only. Currently, text-only push buttons are supported. To create an icon-only button, use the `MacosIconButton` widget. Here's an example of how to create a basic push button: ```dart PushButton( child: Text('button'), - buttonSize: ButtonSize.large, + controlSize: ControlSize.regular, onPressed: () { print('button pressed'); },