Skip to content

Commit 8e94057

Browse files
committed
Run dartfmt. Wrapped docs after max 80 cols. Added missing full stop.
1 parent 1b06322 commit 8e94057

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
import 'dart:async';
66

7+
import 'package:camera_platform_interface/src/method_channel/method_channel_camera.dart';
78
import 'package:file_selector_platform_interface/file_selector_platform_interface.dart';
89
import 'package:flutter/widgets.dart';
910
import 'package:plugin_platform_interface/plugin_platform_interface.dart';
10-
import 'package:camera_platform_interface/src/method_channel/method_channel_camera.dart';
1111

1212
import '../../camera_platform_interface.dart';
1313

@@ -68,8 +68,9 @@ abstract class CameraPlatform extends PlatformInterface {
6868
}
6969

7070
/// Captures an image and returns the file where it was saved.
71-
/// If no [file] parameter is provided, the file returned will be in a temporary location.
72-
Future<XFile> takePicture(int cameraId, { XFile file }) {
71+
/// If no [file] parameter is provided, the file returned will be in a
72+
/// temporary location.
73+
Future<XFile> takePicture(int cameraId, {XFile file}) {
7374
throw UnimplementedError('takePicture() is not implemented.');
7475
}
7576

@@ -78,14 +79,16 @@ abstract class CameraPlatform extends PlatformInterface {
7879
throw UnimplementedError('prepareForVideoRecording() is not implemented.');
7980
}
8081

81-
/// Starts a video recording
82+
/// Starts a video recording.
8283
///
83-
/// If no [file] parameter is provided, the recording will be saved to a new file in a temporary location.
84+
/// If no [file] parameter is provided, the recording will be saved to a new
85+
/// file in a temporary location.
8486
///
8587
/// The file is written on the flight as the video is being recorded.
86-
/// If a file already exists at the path for the provided file instance, an error will be thrown.
88+
/// If a file already exists at the path for the provided file instance,
89+
/// an error will be thrown.
8790
/// The file can be read as soon as [stopVideoRecording] returns it.
88-
Future<XFile> startVideoRecording(int cameraId, { XFile file }) {
91+
Future<XFile> startVideoRecording(int cameraId, {XFile file}) {
8992
throw UnimplementedError('startVideoRecording() is not implemented.');
9093
}
9194

0 commit comments

Comments
 (0)