Documentation Index
Fetch the complete documentation index at: https://synapsync.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Installation
Get started with Nebux Design System in your Flutter project.Requirements
Nebux Design System requires Flutter 3.29.0 or higher and Dart SDK 3.9.0 or higher.
- Flutter SDK:
>=3.29.0 - Dart SDK:
^3.9.0 - Material 3 support
Add dependency
Install packages
Run the following command in your terminal to install the package:This will download Nebux Design System and all its dependencies, including:
google_fonts- For typography supportcached_network_image- For network image cachingfreezed_annotation- For immutable data models
Import the package
Import the package in your Dart files:This single import gives you access to all components, theme utilities, and extensions.
Verify installation
Create a simple widget to verify everything is working:Custom font configuration (optional)
Using a custom Google Font
Using a custom Google Font
The default typography uses Montserrat. To use a different font:The
custom factory accepts any Google Fonts family name.Loading theme from JSON/TOML
Loading theme from JSON/TOML
You can define your color scheme in a configuration file:
Troubleshooting
Version conflicts
Version conflicts
If you encounter version conflicts with
google_fonts or other dependencies:Context extensions not working
Context extensions not working
Make sure you’ve properly registered the theme in your The
MaterialApp:createThemeData method automatically registers the theme extension.Colors not showing correctly
Colors not showing correctly
Ensure you’re using the correct brightness setting:
Next steps
Quick start guide
Build your first screen with Nebux components
Components
Explore all available UI components