Zup UI Kit is a Flutter library that makes building beautiful UIs simple and straightforward for any app. Powered by the Zup Protocol App.
First of all, you need to install the package, so you can run:
flutter pub add zup_ui_kitIt will add the zup_ui_kit package to your project, directly under pubspec.yaml.
To ensure proper usage of the package, you should also apply the Zup theme in your MaterialApp:
MaterialApp(
...
theme: ZupTheme.lightTheme,
darkTheme: ZupTheme.darkTheme,
...
)If you want to customize the theme, you can use the .copyWith() method to apply your own changes:
ZupTheme.lightTheme.copyWith(
// ... your changes
);
ZupTheme.darkTheme.copyWith(
// ... your changes
);