Apparence-io / CamerAwesome

📸 Embedding a camera experience within your own app shouldn't be that hard. A flutter plugin to integrate awesome Android / iOS camera experience.
https://ApparenceKit.dev
MIT License
949 stars 240 forks source link

Fix argument type bool -> bool? #144

Closed Likenttt closed 1 year ago

Likenttt commented 1 year ago

Description

What your Pull Request change ? Just fix the doc argument type bool -> bool? Or we will get The argument type 'void Function(bool)' can't be assigned to the parameter type 'void Function(bool?)?'.dart[argument_type_not_assignable](https://dart.dev/diagnostics/argument_type_not_assignable)

Checklist

Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

Breaking Change

If your feature break something, please detail it

Likenttt commented 1 year ago

Due to Null-safety