fix: stateful or stateless widget as customButton

This commit is contained in:
Stein Milder 2022-09-30 09:27:02 +02:00
parent 324b2b791f
commit 9402136b5d

View file

@ -20,7 +20,7 @@ class ImagePicker extends StatelessWidget {
final ImagePickerTheme imagePickerTheme;
/// The Image Picker Dialog can have a custom button if you want to.
final StatelessWidget? customButton;
final Widget? customButton;
/// The ImagePickerService can be used if you want to use your own implementation of the Image Service if you want to use it for testing or add more features. If null the current implementation will be used.
final ImagePickerService? imagePickerService;