(flutter) rename setExposure method in camera widget
This commit is contained in:
1 parent
2e28b0379d
commit
b0d34bf6a8
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ class _CameraOptionsWidgetState extends State<CameraOptionsWidget> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future _set() async {
|
Future _set() async {
|
||||||
await widget.camera.setCameraExposure(
|
await widget.camera.setExposure(
|
||||||
double.parse(_apertureController.text),
|
double.parse(_apertureController.text),
|
||||||
double.parse(_speedController.text),
|
double.parse(_speedController.text),
|
||||||
double.parse(_sensitivityController.text));
|
double.parse(_sensitivityController.text));
|
||||||
|
|||||||
Reference in new issue
Block a user