fix: added an empty array as default value

This commit is contained in:
Bram Bakker 2023-05-19 14:12:53 +02:00
parent 83f507b7b0
commit b986d5f8ec
5 changed files with 30 additions and 25 deletions

View file

@ -1,22 +1,22 @@
# This is a generated file; do not edit or check into version control.
file_picker=/Users/joey/.pub-cache/hosted/pub.dev/file_picker-5.3.0/
flutter_plugin_android_lifecycle=/Users/joey/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.14/
flutter_sound=/Users/joey/.pub-cache/hosted/pub.dev/flutter_sound-9.2.13/
flutter_sound_web=/Users/joey/.pub-cache/hosted/pub.dev/flutter_sound_web-9.2.13/
image_picker=/Users/joey/.pub-cache/hosted/pub.dev/image_picker-0.8.7+5/
image_picker_android=/Users/joey/.pub-cache/hosted/pub.dev/image_picker_android-0.8.6+13/
image_picker_for_web=/Users/joey/.pub-cache/hosted/pub.dev/image_picker_for_web-2.1.12/
image_picker_ios=/Users/joey/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.7+4/
path_provider=/Users/joey/.pub-cache/hosted/pub.dev/path_provider-2.0.15/
path_provider_android=/Users/joey/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27/
path_provider_foundation=/Users/joey/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/
path_provider_linux=/Users/joey/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/
path_provider_windows=/Users/joey/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6/
permission_handler=/Users/joey/.pub-cache/hosted/pub.dev/permission_handler-10.2.0/
permission_handler_android=/Users/joey/.pub-cache/hosted/pub.dev/permission_handler_android-10.2.0/
permission_handler_apple=/Users/joey/.pub-cache/hosted/pub.dev/permission_handler_apple-9.0.8/
permission_handler_windows=/Users/joey/.pub-cache/hosted/pub.dev/permission_handler_windows-0.1.2/
video_player=/Users/joey/.pub-cache/hosted/pub.dev/video_player-2.6.1/
video_player_android=/Users/joey/.pub-cache/hosted/pub.dev/video_player_android-2.4.7/
video_player_avfoundation=/Users/joey/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.4.6/
video_player_web=/Users/joey/.pub-cache/hosted/pub.dev/video_player_web-2.0.16/
file_picker=/Users/Bram/.pub-cache/hosted/pub.dev/file_picker-5.3.0/
flutter_plugin_android_lifecycle=/Users/Bram/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.15/
flutter_sound=/Users/Bram/.pub-cache/hosted/pub.dev/flutter_sound-9.2.13/
flutter_sound_web=/Users/Bram/.pub-cache/hosted/pub.dev/flutter_sound_web-9.2.13/
image_picker=/Users/Bram/.pub-cache/hosted/pub.dev/image_picker-0.8.7+5/
image_picker_android=/Users/Bram/.pub-cache/hosted/pub.dev/image_picker_android-0.8.6+15/
image_picker_for_web=/Users/Bram/.pub-cache/hosted/pub.dev/image_picker_for_web-2.1.12/
image_picker_ios=/Users/Bram/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.7+4/
path_provider=/Users/Bram/.pub-cache/hosted/pub.dev/path_provider-2.0.15/
path_provider_android=/Users/Bram/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27/
path_provider_foundation=/Users/Bram/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/
path_provider_linux=/Users/Bram/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.10/
path_provider_windows=/Users/Bram/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.6/
permission_handler=/Users/Bram/.pub-cache/hosted/pub.dev/permission_handler-10.2.0/
permission_handler_android=/Users/Bram/.pub-cache/hosted/pub.dev/permission_handler_android-10.2.1/
permission_handler_apple=/Users/Bram/.pub-cache/hosted/pub.dev/permission_handler_apple-9.0.8/
permission_handler_windows=/Users/Bram/.pub-cache/hosted/pub.dev/permission_handler_windows-0.1.2/
video_player=/Users/Bram/.pub-cache/hosted/pub.dev/video_player-2.6.1/
video_player_android=/Users/Bram/.pub-cache/hosted/pub.dev/video_player_android-2.4.8/
video_player_avfoundation=/Users/Bram/.pub-cache/hosted/pub.dev/video_player_avfoundation-2.4.6/
video_player_web=/Users/Bram/.pub-cache/hosted/pub.dev/video_player_web-2.0.16/

View file

@ -1,5 +1,10 @@
## 0.6.1
- Gave disabledPickers a default value to stop null errors.
## 0.6.0
- Made compatible with flutter 3.10
- Made compatible with flutter 3.10
## 0.5.0

View file

@ -147,7 +147,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.6.0"
version: "0.6.1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:

View file

@ -109,7 +109,7 @@ class MediaPicker extends StatefulWidget {
this.horizontalSpacing = 0,
this.verticalSpacing = 0,
this.loadingIconColor,
this.disabledPickers,
this.disabledPickers = const [],
Key? key,
}) : super(key: key);

View file

@ -1,6 +1,6 @@
name: flutter_media_picker
description: A new Flutter package project.
version: 0.6.0
version: 0.6.1
homepage: https://github.com/Iconica-Development/flutter_media_picker
publish_to: "none"