CamerAwesome icon indicating copy to clipboard operation
CamerAwesome copied to clipboard

Example code not updated for null safety

Open droidzone opened this issue 3 years ago • 1 comments

Steps to Reproduce

Use the provided example, and camerawesome 0.3.3 to build

Expected results

No errors

Actual results

error: The argument type 'Null' can't be assigned to the parameter type 'Size'. (argument_type_not_assignable at [myopipclinic] lib/screens/take_pic_new_screen.dart:39)

The affected line is the following: ValueNotifier<Size> _photoSize = ValueNotifier(null);

About your device

Oneplus 9 Pro

Please update the given example to include null safety. It seems the package is updated for null safety, but not the example.

droidzone avatar Aug 05 '22 14:08 droidzone

What a mistake. 😱 We have to fix this!

thanks for reporting

g-apparence avatar Aug 12 '22 19:08 g-apparence