CkcoreuiThemeData class

Immutable theme data for a brand + brightness combination.

Annotations

Constructors

CkcoreuiThemeData({required ckcoreBrand brand, required Brightness brightness, required ckcoreColors colors, required ckcoreTypography typography, required ckcoreSpacing spacing, required ckcoreRadius radius, required ckcoreElevation elevation, required ckcoreShadows shadows, required ckcoreMotion motion, required ckcoreOpacity opacity, required ckcoreBreakpoints breakpoints, BrandLogos logos = BrandLogos.none})
const

Properties

brand → ckcoreBrand
Which brand this theme belongs to.
final
breakpoints → ckcoreBreakpoints
final
brightness → Brightness
final
colors → ckcoreColors
final
elevation → ckcoreElevation
final
hashCode → int
The hash code for this object.
no setteroverride
isDark → bool
True when the theme's brightness is Brightness.dark.
no setter
isLight → bool
True when the theme's brightness is Brightness.light.
no setter
logos → BrandLogos
Logo assets for this brand. Defaults to BrandLogos.none.
final
motion → ckcoreMotion
final
opacity → ckcoreOpacity
final
radius → ckcoreRadius
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
shadows → ckcoreShadows
final
spacing → ckcoreSpacing
final
typography → ckcoreTypography
final

Methods

copyWith({ckcoreBrand? brand, Brightness? brightness, ckcoreColors? colors, ckcoreTypography? typography, ckcoreSpacing? spacing, ckcoreRadius? radius, ckcoreElevation? elevation, ckcoreShadows? shadows, ckcoreMotion? motion, ckcoreOpacity? opacity, ckcoreBreakpoints? breakpoints, BrandLogos? logos}) → CkcoreuiThemeData
Returns a copy of this theme with the given fields overridden.
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