|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
|
|
|
|
|
|
abstract class ScannerOverlay extends ShapeBorder { |
|
|
|
|
|
|
|
|
|
const ScannerOverlay({ |
|
|
|
|
this.borderColor = Colors.red, |
|
|
|
|
this.borderWidth = 3.0, |
|
|
|
@ -17,7 +16,6 @@ abstract class ScannerOverlay extends ShapeBorder {
|
|
|
|
|
final double borderLength; |
|
|
|
|
abstract final double cutOutSize; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
EdgeInsetsGeometry get dimensions => const EdgeInsets.all(10); |
|
|
|
|
|
|
|
|
@ -57,5 +55,4 @@ abstract class ScannerOverlay extends ShapeBorder {
|
|
|
|
|
|
|
|
|
|
@override |
|
|
|
|
ScannerOverlay scale(double t); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|