mirror of
https://github.com/Iconica-Development/flutter_image_picker.git
synced 2025-05-18 11:43:44 +02:00
Merge pull request #7 from Iconica-Development/fix/statefull-or-stateless-widget-as-customButton
fix: stateful or stateless widget as customButton
This commit is contained in:
commit
8a5ddd6ea1
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class ImagePicker extends StatelessWidget {
|
||||||
final ImagePickerTheme imagePickerTheme;
|
final ImagePickerTheme imagePickerTheme;
|
||||||
|
|
||||||
/// The Image Picker Dialog can have a custom button if you want to.
|
/// 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.
|
/// 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;
|
final ImagePickerService? imagePickerService;
|
||||||
|
|
Loading…
Reference in a new issue