From ff4c4b2381b85acced55e0229926377ea28025f0 Mon Sep 17 00:00:00 2001 From: Kathy Walrath Date: Wed, 5 Dec 2018 13:45:52 -0800 Subject: [PATCH 1/2] Add DropdownButton Fixes #1855 --- src/_data/catalog/widgets.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/_data/catalog/widgets.json b/src/_data/catalog/widgets.json index 42858c28e5c..d3a01dd1a82 100644 --- a/src/_data/catalog/widgets.json +++ b/src/_data/catalog/widgets.json @@ -235,6 +235,17 @@ "link": "https://docs.flutter.io/flutter/material/IconButton-class.html", "image": "" }, + { + "name": "DropdownButton", + "sample": "DropdownButton", + "description": "Shows the currently selected item and an arrow that opens a menu for selecting another item.", + "categories": [], + "subcategories": [ + "Buttons" + ], + "link": "https://docs.flutter.io/flutter/material/DropdownButton-class.html", + "image": "" + }, { "name": "PopupMenuButton", "sample": "PopupMenuButton", From dbd7460c82276572685182779e997f2e50e1a611 Mon Sep 17 00:00:00 2001 From: Kathy Walrath Date: Wed, 5 Dec 2018 14:02:52 -0800 Subject: [PATCH 2/2] Remove unused (?) "sample" field --- src/_data/catalog/widgets.json | 1 - 1 file changed, 1 deletion(-) diff --git a/src/_data/catalog/widgets.json b/src/_data/catalog/widgets.json index d3a01dd1a82..d938e53acd1 100644 --- a/src/_data/catalog/widgets.json +++ b/src/_data/catalog/widgets.json @@ -237,7 +237,6 @@ }, { "name": "DropdownButton", - "sample": "DropdownButton", "description": "Shows the currently selected item and an arrow that opens a menu for selecting another item.", "categories": [], "subcategories": [