KiteColors class
Built with Kite 🪁 Flutter foundations, architecture, and developer tooling. Learn more: https://kite.orkitt.dev
- Inheritance
-
- Object
- ThemeExtension<
KiteColors> - KiteColors
- Annotations
Constructors
- KiteColors({required Color primary, required Color onPrimary, required Color secondary, required Color onSecondary, required Color background, required Color card, required Color muted, required Color inputFill, required Color border, required Color textPrimary, required Color textSecondary, required Color textDisabled, required Color icon, required Color success, required Color warning, required Color error, required Color info})
-
const
Properties
- background → Color
-
Main page and scaffold background.
final
- border → Color
-
Base border color used to derive border variants.
final
- borderSoft → Color
-
Quiet border for cards and subtle separation.
no setter
- borderStrong → Color
-
Strong border for emphasized or interactive boundaries.
no setter
- card → Color
-
Cards, sheets, dialogs, and content containers.
final
- disabledFill → Color
-
Disabled or inactive component background.
no setter
- divider → Color
-
Standard divider and separator color.
no setter
- error → Color
-
Error or destructive state.
final
- errorSoft → Color
-
no setter
- focusRing → Color
-
Keyboard and accessibility focus color.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Color
-
Default icon color.
final
- info → Color
-
Informational state.
final
- infoSoft → Color
-
no setter
- inputFill → Color
-
Form control and editable field background.
final
- muted → Color
-
Low-emphasis neutral background.
final
- onPrimary → Color
-
Content displayed on primary.
final
- onSecondary → Color
-
Content displayed on secondary.
final
- overlay → Color
-
Modal, drawer, and dialog backdrop.
no setter
- primary → Color
-
Primary brand and interactive color.
final
- primarySoft → Color
-
Subtle primary background.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondary → Color
-
Secondary brand or supporting accent.
final
- secondarySoft → Color
-
Subtle secondary background.
no setter
- selectedFill → Color
-
Selected low-emphasis background.
no setter
- success → Color
-
Positive or completed state.
final
- successSoft → Color
-
no setter
- textDisabled → Color
-
Disabled content.
final
- textPrimary → Color
-
Primary readable content.
final
- textSecondary → Color
-
Supporting and secondary content.
final
- type → Object
-
The extension's type.
no setterinherited
- warning → Color
-
Warning or attention state.
final
- warningSoft → Color
-
no setter
Methods
-
copyWith(
{Color? primary, Color? onPrimary, Color? secondary, Color? onSecondary, Color? background, Color? card, Color? muted, Color? inputFill, Color? border, Color? textPrimary, Color? textSecondary, Color? textDisabled, Color? icon, Color? success, Color? warning, Color? error, Color? info}) → KiteColors -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant KiteColors? other, double t) → KiteColors -
Linearly interpolate with another ThemeExtension object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
soft(
Color color, {double amount = 0.12}) → Color -
Creates an opaque subtle version of
color. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited