• This project
    • Loading...
  • Sign in

flutter_package / mobile_scanner

Go to a project
Toggle navigation
  • Projects
  • Groups
  • Snippets
  • Help
Toggle navigation pinning
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • mobile_scanner
  • lib
  • src
  • enums
  • camera_facing.dart
  • convert camera facing & detection speed to enhanced enums · 5b87b8c8
    5b87b8c8 Browse Directory
    Navaron Bracke authored 2023-10-22 20:09:18 +0200
camera_facing.dart 241 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
/// The facing of a camera.
enum CameraFacing {
  /// Front facing camera.
  front(0),

  /// Back facing camera.
  back(1);

  const CameraFacing(this.rawValue);

  /// The raw value for the camera facing direction.
  final int rawValue;
}