Skip to content

Commit 34461e9

Browse files
committed
refactor(picker): modify the data as a required parameter
1 parent 22e780b commit 34461e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/picker.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class PickerItemDetails {
1616
class Picker {
1717

1818
/// 展示picker组件
19-
static show(BuildContext context, List<String> data, {ValueChanged<PickerItemDetails> onOk, int initialItem = 0}) {
19+
static show(BuildContext context,{List<String> data, ValueChanged<PickerItemDetails> onOk, int initialItem = 0}) {
2020
showModalBottomSheet(
2121
context: context,
2222
builder: (_) {

0 commit comments

Comments
 (0)