chat_uikit_theme 0.0.5 copy "chat_uikit_theme: ^0.0.5" to clipboard
chat_uikit_theme: ^0.0.5 copied to clipboard

chat uikit theme.

chat_uikit_theme #

Packages that use themes in chat_uikit

Getting Started #

Needs to be added to the root node, Supports light and dark themes.

return ChatUIKitTheme(
    color: isLight ? ChatUIKitColor.light() : ChatUIKitColor.dark(),
    child: child,
);

The hue value can be used to change the overall style.

class ChatUIKitColor {
  ChatUIKitColor.light({
    this.primaryHue = 203,
    this.secondaryHue = 155,
    this.errorHue = 350,
    this.neutralHue = 203,
    this.neutralSpecialHue = 220,
    this.barrageLightness = LightnessStyle.oneHundred,
  }) : isDark = false;

  ChatUIKitColor.dark({
    this.primaryHue = 203,
    this.secondaryHue = 155,
    this.errorHue = 350,
    this.neutralHue = 203,
    this.neutralSpecialHue = 220,
    this.barrageLightness = LightnessStyle.zero,
  }) : isDark = true;
}

1
likes
0
points
183
downloads

Publisher

unverified uploader

Weekly Downloads

chat uikit theme.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on chat_uikit_theme