ForegroundStyle class

Configuration of the appearance of foreground elements (e.g. text and/or icons on buttons, etc).

Constructors

ForegroundStyle({bool iconVisible = true, ScanbotColor? color, bool useShadow = false})
ForegroundStyle.fromJson(Map<String, dynamic> json)
factory

Properties

color ScanbotColor
Color used for foreground elements. Default is "#FFFFFF"
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconVisible bool
Whether the icon is visible. Default is true
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useShadow bool
Whether to use drop shadows for foreground elements. Default is false
getter/setter pair

Methods

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

Operators

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