StreamEmojiChipThemeStyle class
Visual styling properties for emoji chips.
Defines the appearance of emoji chips including background, foreground, overlay colors, size, padding, and border styling. All color properties support state-based styling for interactive feedback.
See also:
- StreamEmojiChipThemeData, which wraps this style for theming.
- StreamEmojiChip, which uses this styling.
- Annotations
-
- @themeGen
- @immutable
Constructors
-
StreamEmojiChipThemeStyle({WidgetStateProperty<
Color?> ? backgroundColor, WidgetStateProperty<Color?> ? foregroundColor, WidgetStateProperty<Color?> ? overlayColor, WidgetStateProperty<TextStyle?> ? textStyle, WidgetStateProperty<double?> ? elevation, WidgetStateProperty<Color?> ? shadowColor, double? emojiSize, Size? minimumSize, Size? maximumSize, EdgeInsetsGeometry? padding, OutlinedBorder? shape, WidgetStateProperty<BorderSide?> ? side}) -
Creates emoji chip style properties.
const
Properties
-
backgroundColor
→ WidgetStateProperty<
Color?> ? -
The background color for emoji chips.
final
- canMerge → bool
-
no setterinherited
-
elevation
→ WidgetStateProperty<
double?> ? -
The elevation of the chip.
final
- emojiSize → double?
-
The display size of the emoji/icon in logical pixels.
final
-
foregroundColor
→ WidgetStateProperty<
Color?> ? -
The foreground color for emoji/icon and count text content.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maximumSize → Size?
-
The maximum size of the chip.
final
- minimumSize → Size?
-
The minimum size of the chip.
final
-
overlayColor
→ WidgetStateProperty<
Color?> ? -
The overlay color for interaction feedback (hover, press).
final
- padding → EdgeInsetsGeometry?
-
The internal padding of the chip.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shadowColor
→ WidgetStateProperty<
Color?> ? -
The shadow color of the chip.
final
- shape → OutlinedBorder?
-
The shape of the chip's container.
final
- side → WidgetStateBorderSide?
-
The border for the chip.
final
-
textStyle
→ WidgetStateProperty<
TextStyle?> ? -
The text style for the reaction count label.
final
Methods
-
copyWith(
{WidgetStateProperty< Color?> ? backgroundColor, WidgetStateProperty<Color?> ? foregroundColor, WidgetStateProperty<Color?> ? overlayColor, WidgetStateProperty<TextStyle?> ? textStyle, WidgetStateProperty<double?> ? elevation, WidgetStateProperty<Color?> ? shadowColor, double? emojiSize, Size? minimumSize, Size? maximumSize, EdgeInsetsGeometry? padding, OutlinedBorder? shape, WidgetStateBorderSide? side}) → StreamEmojiChipThemeStyle -
inherited
-
merge(
StreamEmojiChipThemeStyle? other) → StreamEmojiChipThemeStyle -
inherited
-
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
Static Methods
-
lerp(
StreamEmojiChipThemeStyle? a, StreamEmojiChipThemeStyle? b, double t) → StreamEmojiChipThemeStyle? - Linearly interpolate between two StreamEmojiChipThemeStyle objects.