BadgeTheme class

Constructors

BadgeTheme({String messageBg = 'blue', String messageColor = 'backgroundWhite', String labelBg = 'brightBlack', String labelColor = 'white', int? messageBgCode, int? messageColorCode, int? labelBgCode, int? labelColorCode})

Properties

hashCode int
The hash code for this object.
no setterinherited
labelBg String
final
labelBgCode int?
final
labelColor String
final
labelColorCode int?
final
messageBg String
final
messageBgCode int?
final
messageColor String
final
messageColorCode int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

colorLabel(String label) → dynamic
colorMessage(String message) → dynamic
copyWith({String? messageBg, String? messageColor, String? labelBg, String? labelColor}) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
swapped() → dynamic
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

blue BadgeTheme
final
cyan BadgeTheme
final
green BadgeTheme
final
magenta BadgeTheme
final
primary BadgeTheme
final
red BadgeTheme
final
yellow BadgeTheme
final