Navaron Bracke

fix changelog

@@ -8,15 +8,9 @@ Breaking changes: @@ -8,15 +8,9 @@ Breaking changes:
8 * The `onPermissionSet` argument of the `MobileScannerController` is now deprecated. 8 * The `onPermissionSet` argument of the `MobileScannerController` is now deprecated.
9 To handle permission errors, consider catching the result of `MobileScannerController.start()`. 9 To handle permission errors, consider catching the result of `MobileScannerController.start()`.
10 * Toggling the device torch now does nothing if the device has no torch, rather than throwing an error. 10 * Toggling the device torch now does nothing if the device has no torch, rather than throwing an error.
11 -* The `MobileScanner` widget no longer starts its `controller`.  
12 - Clients of the widget should call `controller.start()` when appropriate. 11 +* The `MobileScanner` now only starts its internal `controller`.
  12 + If providing your own controller, consider calling `start()` on it.
13 * The `onStart` method has been renamed to `onScannerStarted`. 13 * The `onStart` method has been renamed to `onScannerStarted`.
14 - To retrieve the start arguments of the controller, await the `start()` method:  
15 -```dart  
16 -final arguments = await controller.start();  
17 -```  
18 - To retrieve the updated preview size when the application resumes from the background,  
19 - use the new `onScannerRestarted` method.  
20 * The `autoResume` attribute has been removed from the `MobileScanner` widget. 14 * The `autoResume` attribute has been removed from the `MobileScanner` widget.
21 The controller already automatically resumes, so it had no effect. 15 The controller already automatically resumes, so it had no effect.
22 * Removed `MobileScannerCallback` and `MobileScannerArgumentsCallback` typedef. 16 * Removed `MobileScannerCallback` and `MobileScannerArgumentsCallback` typedef.