ScanFlashColors class final

Colors of ScanFlash.

Constructors

ScanFlashColors({Color accepted = const Color(0xFF2E7D32), Color duplicate = const Color(0xFFF9A825), Color rejected = const Color(0xFFC62828)})
Creates colors.
const

Properties

accepted → Color
Green.
final
duplicate → Color
Amber.
final
hashCode → int
The hash code for this object.
no setterinherited
rejected → Color
Red.
final
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
of(ScanFeedbackKind kind) → Color
The color of kind.
toString() → String
A string representation of this object.
inherited

Operators

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