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

chat uikit theme.

chat_uikit_theme #

Getting Started #

  1. If you want to use a theme, you need to implement ChatUIKitThemeMixin
class _NextWidgetState extends State<NextWidget> with ChatUIKitThemeMixin {}
  1. override themeBuilder method
// The theme here is the theme after setting, you can take a value. There is no need to override the `build` once `themeBuilder` is used
Widget themeBuilder(BuildContext context, ChatUIKitTheme theme) {
// return some widget;
}
  1. Set theme
    1. color
    ChatUIKitTheme.instance.setColor(
        ChatUIKitColor.light(primaryHue: 203),
    );
    
    1. font
    ChatUIKitTheme.instance.setFont(
        ChatUIKitFont.fontSize(ChatUIKitFontSize.normal),
    );
    
1
likes
140
points
185
downloads

Publisher

unverified uploader

Weekly Downloads

chat uikit theme.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on chat_uikit_theme