diff --git a/src/ui/flutter_app/lib/shared/picker.dart b/src/ui/flutter_app/lib/shared/picker.dart index 3a9ac9a6..13c2f945 100644 --- a/src/ui/flutter_app/lib/shared/picker.dart +++ b/src/ui/flutter_app/lib/shared/picker.dart @@ -71,9 +71,9 @@ Future showPickerNumber( ), onConfirm: (Picker picker, List value) async { debugPrint(value.toString()); - final selectValues = picker.getSelectedValues(); + final List selectValues = picker.getSelectedValues(); debugPrint(selectValues.toString()); - selectValue = selectValues[0]; + selectValue = selectValues[0] as int; }, ).showDialog(context);