Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Formatted dart code
  • Loading branch information
BeMacized committed Dec 9, 2020
commit ab5a338801d3474b1ac807e13a3510d2d09d75d1
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ enum FlashMode {

/// Always use the flash when taking a picture.
always,
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -175,16 +175,16 @@ void main() {

test(
'Default implementation of setFlashMode() should throw unimplemented error',
() {
// Arrange
final cameraPlatform = ExtendsCameraPlatform();

// Act & Assert
expect(
() => cameraPlatform.setFlashMode(1, null),
throwsUnimplementedError,
);
});
() {
// Arrange
final cameraPlatform = ExtendsCameraPlatform();

// Act & Assert
expect(
() => cameraPlatform.setFlashMode(1, null),
throwsUnimplementedError,
);
});

test(
'Default implementation of startVideoRecording() should throw unimplemented error',
Expand Down