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

chat uikit theme.

chat_uikit_theme #

Getting Started #

  1. If you want to use a theme, you need to implement ChatUIKitThemeState
class _NextWidgetState extends State<NextWidget> with ChatUIKitThemeState {}
  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
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