mobile_scanner_arguments.dart 400 Bytes
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, });
}