media_picker_widget
library
Typedefs
-
HeaderBuilder is used to build custom header for picker
context
is the BuildContext of picker header
albumSelector
is the widget that will show the album selector, you can use it to show album selector in your custom header. Use PickerDecoration to customize it.
completeSelection
is called when selection is done. If you want a button for user to confirm selection, you can use it. It will trigger MediaPicker.onPicked callback. Note: If MediaPicker's media count is MediaCount.single, It won't ask for confirmation.
onBack
is the callback when user press back button. It will close album selector if it is open. Else your MediaPicker.onCancel callback will be called.