• 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
  • mobile_scanner_arguments.dart
  • style: flutter format · e2741f2d
    e2741f2d Browse File
    Julian Steenbakker authored 2022-04-22 09:10:41 +0200
mobile_scanner_arguments.dart 412 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
import 'package:flutter/material.dart';

/// Camera args for [CameraView].
class MobileScannerArguments {
  /// The texture id.
  final int? textureId;

  /// Size of the texture.
  final Size size;

  final bool hasTorch;

  final String? webId;

  /// Create a [MobileScannerArguments].
  MobileScannerArguments({
    this.textureId,
    required this.size,
    required this.hasTorch,
    this.webId,
  });
}