You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -103,7 +103,7 @@ customize to your needs.
103
103
|[padding](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/ButtonStyleData/padding.html)| The inner padding of the Button | EdgeInsetsGeometry | No |
104
104
|[decoration](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/ButtonStyleData/decoration.html)| The decoration of the Button | BoxDecoration | No |
105
105
|[elevation](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/ButtonStyleData/elevation.html)| The elevation of the Button | int | No |
106
-
|[overlayColor](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/ButtonStyleData/overlayColor.html)| Defines the ink response focus, hover, and splash colors for the button |MaterialStateProperty<Color?> | No |
106
+
|[overlayColor](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/ButtonStyleData/overlayColor.html)| Defines the ink response focus, hover, and splash colors for the button |WidgetStateProperty<Color?> | No |
107
107
108
108
#### Subclass IconStyleData:
109
109
@@ -141,7 +141,7 @@ customize to your needs.
141
141
|[padding](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/padding.html)| The padding of menu items | EdgeInsetsGeometry | No |
142
142
|[useDecorationHorizontalPadding](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/useDecorationHorizontalPadding.html)| Determine whether to use the horizontal padding from "decoration.contentPadding" for menu items when using `DropdownButtonFormField2`| bool | No |
143
143
|[borderRadius](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/borderRadius.html)| The border radius of the menu item | BorderRadius | No |
144
-
|[overlayColor](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/overlayColor.html)| Defines the ink response focus, hover, and splash colors for the items |MaterialStateProperty<Color?> | No |
144
+
|[overlayColor](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/overlayColor.html)| Defines the ink response focus, hover, and splash colors for the items |WidgetStateProperty<Color?> | No |
145
145
|[selectedMenuItemBuilder](https://pub.dev/documentation/dropdown_button2/latest/dropdown_button2/MenuItemStyleData/selectedMenuItemBuilder.html)| A builder to customize the selected menu item | SelectedMenuItemBuilder | No |
Copy file name to clipboardexpand all lines: packages/dropdown_button2/CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
- Support helperStyle/helperMaxLines/errorMaxLines for DropdownButtonFormField2.
12
12
- Add `MenuItemStyleData.useDecorationHorizontalPadding`, used to determine whether to use the horizontal padding from "decoration.contentPadding" for menu items when using `DropdownButtonFormField2`.
13
13
- Use decoration hint text as the default value for dropdown button hints [Flutter core].
0 commit comments