ViewFinderConfiguration class

Configuration of the scanning interface’s viewfinder, allowing it to be shown or hidden as guidance to the user.

Inheritance

Constructors

ViewFinderConfiguration.new({FinderStyle? style, ScanbotColor? overlayColor, AspectRatio? aspectRatio, EdgeInsets? minimumInsets, double preferredHeight = -1.0, bool visible = true})
ViewFinderConfiguration.fromJson(Map<String, dynamic> json)
factory

Properties

aspectRatio AspectRatio
The viewfinder's aspect ratio.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
minimumInsets EdgeInsets
The minimum insets of the viewfinder.
getter/setter pairinherited
overlayColor ScanbotColor
The color of the viewfinder overlay.
getter/setter pairinherited
preferredHeight double
The preferred height of the viewfinder.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style FinderStyle
The visual appearance of the viewfinder.
getter/setter pairinherited
visible bool
Whether the viewfinder is visible.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({ToJsonConfiguration? config}) Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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