GeneralStyles class

The style of the document scanner.

Annotations

Constructors

GeneralStyles({bool hideDefaultBottomNavigation = false, bool hideDefaultDialogs = false, Color baseColor = Colors.white, String messageTakingPicture = 'Taking picture', String messageCroppingPicture = 'Cropping picture', String messageEditingPicture = 'Editing picture', String messageSavingPicture = 'Saving picture', bool showCameraPreview = true, Widget? widgetInsteadOfCameraPreview})
Create a instance of GeneralStyles.
const

Properties

baseColor Color
The base color of the app.
final
hashCode int
The hash code for this object.
no setterinherited
hideDefaultBottomNavigation bool
Hide the default bottom navigation.
final
hideDefaultDialogs bool
Hide the default dialogs of the app.
final
messageCroppingPicture String
Message to be displayed when cropping picture (only if hideDefaultDialogs is false)
final
messageEditingPicture String
Message to be displayed when editing picture (only if hideDefaultDialogs is false)
final
messageSavingPicture String
Message to be displayed when saving picture (only if hideDefaultDialogs is false)
final
messageTakingPicture String
Message to be displayed when taking picture (only if hideDefaultDialogs is false)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCameraPreview bool
Show the camera preview
final
widgetInsteadOfCameraPreview Widget?
Widget to be displayed instead of the camera preview (only if showCameraPreview is false)
final

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