TeamLogoTheme class

Visual configuration for the team logo avatar in the default match card.

Constructors

TeamLogoTheme({Color? backgroundColor, IconData fallbackIcon = Icons.sports_soccer, Color? fallbackIconColor, double size = 20.0, BorderRadius? borderRadius, BoxBorder? border, EdgeInsets padding = EdgeInsets.zero})
const

Properties

backgroundColor Color?
Background color of the avatar circle/container. Defaults to theme's surfaceContainerHighest.
final
border BoxBorder?
Optional border around the logo.
final
borderRadius BorderRadius?
Optional border radius. If null, the logo is a perfect circle.
final
fallbackIcon IconData
Icon shown when the team has no image or the image fails to load.
final
fallbackIconColor Color?
Color of the fallback icon. Defaults to theme's onSurfaceVariant.
final
hashCode int
The hash code for this object.
no setterinherited
padding EdgeInsets
Padding inside the logo container (between border and image).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size double
Total size (width & height) of the logo container.
final

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