Barras class

Constructors

Barras()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

scan(BuildContext context, {bool showBorder = true, int borderFlashDuration = 500, double viewfinderWidth = 240.0, double viewfinderHeight = 240.0, double borderRadius = 16.0, Color scrimColor = Colors.black54, Color borderColor = Colors.green, double borderStrokeWidth = 4.0, Color buttonColor = Colors.white, String cancelButtonText = "Cancel", bool successBeep = true}) Future<String?>
Opens the barcode scanning page and return scanned data or null if the Cancel button is pressed or if user dismisses the page.