Style class
ThemeExtension containing custom additional style-related fields.
- Inheritance
-
- Object
- ThemeExtension<
Style> - Style
Constructors
- Style({required Palette colors, required Fonts fonts, required Color barrierColor, required double cardBlur, required Border cardBorder, required Color cardColor, required Color cardHoveredColor, required Border cardHoveredBorder, required BorderRadius cardRadius, required Border cardSelectedBorder, required Color contextMenuBackgroundColor, required Color contextMenuHoveredColor, required BorderRadius contextMenuRadius, required TextStyle linkStyle, required Color messageColor, required Border primaryBorder, required Color readMessageColor, required Border secondaryBorder, required Color sidebarColor, required Border systemMessageBorder, required Color systemMessageColor, required TextStyle systemMessageStyle, required TextStyle systemMessagePrimary, required Color unreadMessageColor})
-
const
Properties
- barrierColor → Color
-
Color of the modal background barrier.
final
- cardBlur → double
-
Blur to apply to card-like Widgets.
final
- cardBorder → Border
-
Border to apply to card-like Widgets.
final
- cardColor → Color
-
Background Color of card-like Widgets.
final
- cardHoveredBorder → Border
-
Border to apply to hovered card-like Widgets.
final
- cardHoveredColor → Color
-
Background Color of card-like Widgets when hovered.
final
- cardRadius → BorderRadius
-
BorderRadius to use in card-like Widgets.
final
- cardSelectedBorder → Border
-
Border to apply to selected card-like Widgets.
final
- colors → Palette
-
Palette to use in the application.
final
- contextMenuBackgroundColor → Color
-
Background Color of the ContextMenu.
final
- contextMenuHoveredColor → Color
-
Color of the hovered ContextMenuButton.
final
- contextMenuRadius → BorderRadius
-
BorderRadius of the ContextMenu.
final
- fonts → Fonts
-
Fonts to use in the application.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkStyle → TextStyle
-
TextStyle to apply to a link.
final
- messageColor → Color
-
Background Color of ChatMessages, ChatForwards and ChatCalls.
final
- primaryBorder → Border
-
Border to apply to ColorScheme.primary color.
final
- readMessageColor → Color
-
Background Color of ChatMessages, ChatForwards and ChatCalls
posted by the authenticated MyUser.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryBorder → Border
-
Border to apply to ColorScheme.secondary color.
final
-
Color of the HomeView's side bar.
final
- systemMessageBorder → Border
-
Border to apply to system messages.
final
- systemMessageColor → Color
-
Color of system messages.
final
- systemMessagePrimary → TextStyle
-
TextStyle of system messages with a primary color.
final
- systemMessageStyle → TextStyle
-
TextStyle of system messages.
final
- type → Object
-
The extension's type.
no setterinherited
- unreadMessageColor → Color
-
Background Color of unread ChatMessages, ChatForwards and
ChatCalls posted by the authenticated MyUser.
final
Methods
-
copyWith(
{Palette? colors, Fonts? fonts, Color? barrierColor, double? cardBlur, Border? cardBorder, Color? cardColor, Color? cardHoveredColor, Border? cardHoveredBorder, BorderRadius? cardRadius, Border? cardSelectedBorder, Color? contextMenuBackgroundColor, Color? contextMenuHoveredColor, BorderRadius? contextMenuRadius, TextStyle? linkStyle, Color? messageColor, Border? primaryBorder, Color? readMessageColor, Border? secondaryBorder, Color? sidebarColor, Border? systemMessageBorder, Color? systemMessageColor, TextStyle? systemMessageStyle, TextStyle? systemMessagePrimary, Color? unreadMessageColor}) → ThemeExtension< Style> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< Style> ? other, double t) → ThemeExtension<Style> -
Linearly interpolate with another ThemeExtension object.
override
-
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