StreamImageSourceBadgeProps class
Properties for configuring a StreamImageSourceBadge.
This class holds all the configuration options for a source badge, allowing them to be passed through the StreamComponentFactory.
See also:
- StreamImageSourceBadge, which uses these properties.
- DefaultStreamImageSourceBadge, the default implementation.
Constructors
- StreamImageSourceBadgeProps({required Widget leading, required Widget label, Color? backgroundColor, Color? foregroundColor})
-
Creates properties for a source badge.
const
Properties
- backgroundColor → Color?
-
The background color of the badge.
final
- foregroundColor → Color?
-
The foreground color applied to the label text and icon.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → Widget
-
The label widget.
final
- leading → Widget
-
The leading icon widget.
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited