Skip to content

Commit 3906524

Browse files
author
chitkiu
committed
Fixed small bug
1 parent fa4ccbe commit 3906524

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/platform/platform_dropdown_button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class PlatformDropdownButton<T> extends StatelessWidget {
112112
final data = material?.call(context, platform);
113113

114114
return DropdownButton<T>(
115-
items: data?.items ?? items ?? const <DropdownMenuItem<T>>[],
115+
items: data?.items ?? items ?? <DropdownMenuItem<T>>[],
116116
selectedItemBuilder: data?.selectedItemBuilder ?? selectedItemBuilder,
117117
value: data?.value ?? value,
118118
hint: data?.hint ?? hint,

0 commit comments

Comments
 (0)