BrandLogos class

Packaged logo asset paths for one brand.

Each brand theme supplies its own BrandLogos through ckcoreThemeData.logos, so widgets never need to switch on the brand to pick a logo. Adding a brand means setting this in its theme builders.

Any path may be null when the brand has no such asset yet; BrandIcon.brandLogoWidget then renders a typographic fallback.

Annotations

Constructors

BrandLogos({String? master, String? symbol, String? name, String? nav})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
master → String?
Combined mark (symbol and name). Used for BrandIconVariant.master.
final
name → String?
Wordmark only. Used for BrandIconVariant.name.
final
Compact logo shown in navigation chrome (CKSideNav, CKDrawer).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
symbol → String?
Symbol only. Used for BrandIconVariant.logo.
final

Methods

forVariant(BrandIconVariant variant) → String?
The asset path for variant, or null when the brand has none.
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.
override

Constants

none → const BrandLogos
A brand with no logo assets.