Palette class
Value palette describing the colors of the scanner screens.
Constructors
- Palette({ScanbotColor? sbColorPrimary, ScanbotColor? sbColorPrimaryDisabled, ScanbotColor? sbColorNegative, ScanbotColor? sbColorPositive, ScanbotColor? sbColorWarning, ScanbotColor? sbColorSecondary, ScanbotColor? sbColorSecondaryDisabled, ScanbotColor? sbColorOnPrimary, ScanbotColor? sbColorOnSecondary, ScanbotColor? sbColorSurface, ScanbotColor? sbColorOutline, ScanbotColor? sbColorOnSurfaceVariant, ScanbotColor? sbColorOnSurface, ScanbotColor? sbColorSurfaceLow, ScanbotColor? sbColorSurfaceHigh, ScanbotColor? sbColorModalOverlay})
- 
          Palette.fromJson(Map<String, dynamic> json)
- 
          
            factory
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- sbColorModalOverlay ↔ ScanbotColor
- 
  The color with a very high alpha (transparency) value used to fill certain overlays.
  getter/setter pair
- sbColorNegative ↔ ScanbotColor
- 
  The color used to convey a negative meaning.
  getter/setter pair
- sbColorOnPrimary ↔ ScanbotColor
- 
  The color used for displaying elements on top of the primary color.
  getter/setter pair
- sbColorOnSecondary ↔ ScanbotColor
- 
  The color used for displaying elements on top of the secondary color.
  getter/setter pair
- sbColorOnSurface ↔ ScanbotColor
- 
  The color used on top of surfaces.
  getter/setter pair
- sbColorOnSurfaceVariant ↔ ScanbotColor
- 
  The alternative color used on top of surfaces.
  getter/setter pair
- sbColorOutline ↔ ScanbotColor
- 
  The color used for outlines.
  getter/setter pair
- sbColorPositive ↔ ScanbotColor
- 
  The color used to convey a positive meaning.
  getter/setter pair
- sbColorPrimary ↔ ScanbotColor
- 
  The primary color used for enabled elements.
  getter/setter pair
- sbColorPrimaryDisabled ↔ ScanbotColor
- 
  The primary color used for disabled elements.
  getter/setter pair
- sbColorSecondary ↔ ScanbotColor
- 
  The secondary color used for enabled elements.
  getter/setter pair
- sbColorSecondaryDisabled ↔ ScanbotColor
- 
  The secondary color used for disabled elements.
  getter/setter pair
- sbColorSurface ↔ ScanbotColor
- 
  The color used for surfaces.
  getter/setter pair
- sbColorSurfaceHigh ↔ ScanbotColor
- 
  The color with a high alpha (transparency) value used for certain surfaces.
  getter/setter pair
- sbColorSurfaceLow ↔ ScanbotColor
- 
  The color with a low alpha (transparency) value used for certain surfaces.
  getter/setter pair
- sbColorWarning ↔ ScanbotColor
- 
  The color used to convey warnings.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson({ToJsonConfiguration? config}) → Map< String, dynamic> 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited