This repository was archived by the owner on Mar 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +27
-29
lines changed Expand file tree Collapse file tree 1 file changed +27
-29
lines changed Original file line number Diff line number Diff line change @@ -132,38 +132,36 @@ export const DropdownButton = <
132
132
h (
133
133
< div ref = { target } >
134
134
{ h (
135
- GestureDetector ( {
136
- child : Stack ( {
137
- children : [
138
- GestureDetector ( {
139
- child : SizedBox ( {
140
- child : Container ( {
141
- decoration : new BoxDecoration ( {
142
- boxShadow : elevation ,
143
- } ) ,
144
- child : Row ( {
145
- mainAxisAlignment : MainAxisAlignment . spaceBetween ,
146
- mainAxisSize : MainAxisSize . min ,
147
- children : [
148
- TextField ( { controller : textFieldController } ) ,
149
- resolvedIcon ,
150
- ] ,
151
- } ) ,
135
+ Stack ( {
136
+ children : [
137
+ GestureDetector ( {
138
+ child : SizedBox ( {
139
+ child : Container ( {
140
+ decoration : new BoxDecoration ( {
141
+ boxShadow : elevation ,
142
+ } ) ,
143
+ child : Row ( {
144
+ mainAxisAlignment : MainAxisAlignment . spaceBetween ,
145
+ mainAxisSize : MainAxisSize . min ,
146
+ children : [
147
+ TextField ( { controller : textFieldController } ) ,
148
+ resolvedIcon ,
149
+ ] ,
152
150
} ) ,
153
- height : EdgeInsetsStep . s10 ,
154
151
} ) ,
155
- onTap : ( ) => {
156
- if ( ! isMenuOpened . value ) {
157
- isMenuOpened . value = true
158
- }
159
- } ,
160
- } ) ,
161
- Visibility ( {
162
- child : itemsDropdown ,
163
- visible : isMenuOpened ,
152
+ height : EdgeInsetsStep . s10 ,
164
153
} ) ,
165
- ] ,
166
- } ) ,
154
+ onTap : ( ) => {
155
+ if ( ! isMenuOpened . value ) {
156
+ isMenuOpened . value = true
157
+ }
158
+ } ,
159
+ } ) ,
160
+ Visibility ( {
161
+ child : itemsDropdown ,
162
+ visible : isMenuOpened ,
163
+ } ) ,
164
+ ] ,
167
165
} )
168
166
) }
169
167
</ div >
You can’t perform that action at this time.
0 commit comments