Chat UIKit Flutter v3
Chat UIKit Flutter
Chat UIKit
Flutter
Version 3

Customize color resources

Copy link

The color resource manages a set of colors provided by UIKit for Flutter. These colors are used in UIKit views and include background and main colors. While the UIKit provides a default color set, you can customize them by using the SBUColors.setColors() method.


Set colors

Copy link
// Set all colors.
SBUColors.setColors(
  // ...
);

// Set a color.
SBUColors.primaryMain = Colors.red;