Sugar Fast is a comprehensive meta-package that brings together the entire Sugar ecosystem for super-fast Flutter development. Instead of managing multiple dependencies, install once and get access to everything you need.
dependencies:
sugar_fast: ^2.0.0 # Gets you EVERYTHING
import 'package:sugar_fast/sugar_fast.dart'; // One import for all Sugar features
void main() {
SugarFast.initialize();
runApp(MyApp());
}
Package | Status | Description |
---|---|---|
π° Riverpod Sugar | β Available | Enhanced Riverpod utilities and helpers |
π§© Sugar UI | π§ Coming Soon | Pre-built, customizable widgets |
π Sugar Connect | π§ Coming Soon | HTTP/API utilities and networking |
π¨ Sugar Themer | π§ Coming Soon | Advanced theming and styling system |
π° Sugar Slices | π§ Coming Soon | Enhanced Riverpod state management |
flutter pub add sugar_fast
import 'package:sugar_fast/sugar_fast.dart';
import 'package:flutter/foundation.dart';
void main() {
SugarFast.initialize(
devMode: kDebugMode,
);
runApp(MyApp());
}
class MyWidget extends ConsumerWidget {
@override
Widget build(BuildContext context, WidgetRef ref) {
// Use Riverpod Sugar (currently available)
final user = ref.watch(userProvider);
// Coming soon: Use other Sugar packages
// return SugarCard(child: ...); // Sugar UI
// return SugarTheme.dark(child: ...); // Sugar Themer
// ApiClient.get('/users'); // Sugar Connect
return Text('Hello ${user.name}');
}
}
Need fine-grained control? Install individual packages:
dependencies:
riverpod_sugar: ^1.0.9 # State management only
# sugar_ui: ^1.0.0 # UI components only (coming soon)
# sugar_connect: ^1.0.0 # API utilities only (coming soon)
# sugar_themer: ^1.0.0 # Theming only (coming soon)
- Riverpod Sugar Docs - Available now
- Sugar UI Docs - Coming soon
- Sugar Connect Docs - Coming soon
- Sugar Themer Docs - Coming soon
- Riverpod Sugar integration
- Hub package structure
- Unified initialization
- Sugar UI package
- Pre-built widgets
- Customizable components
- Sugar Connect package
- HTTP utilities
- API helpers
- Sugar Themer package
- Advanced theming system
- Design tokens
Instead of managing multiple packages, add one dependency and get access to the entire Sugar ecosystem.
All Sugar packages work together seamlessly with consistent APIs and patterns.
As new Sugar packages are released, they're automatically included in Sugar Fast updates.
Need fine control? You can still install individual packages separately.
- Riverpod Sugar: Enhanced state management utilities
- Sugar UI: Pre-built, customizable widgets for common use cases
- Sugar Connect: HTTP/API utilities with built-in error handling
- Sugar Themer: Advanced theming system with design tokens
- Sugar Slices: Enhanced Riverpod state management patterns
We welcome contributions to the Sugar ecosystem! Each package has its own repository:
- sugar_fast (this hub): mukhbit0/sugar_fast
- riverpod_sugar: Contribute here
- More packages coming soon...
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE for details.
Built with β€οΈ for the Flutter community
Making Flutter development faster, one package at a time.