sugar_fast 2.0.0
sugar_fast: ^2.0.0 copied to clipboard
The ultimate Flutter development hub - A meta-package that brings together the entire Sugar ecosystem for super-fast development. Import once, get everything.
π Sugar Fast - Flutter Development Hub #
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.
π― One Package, Everything Included #
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());
}
π§© What's Included #
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 |
π Quick Start #
1. Install #
flutter pub add sugar_fast
2. Initialize #
import 'package:sugar_fast/sugar_fast.dart';
import 'package:flutter/foundation.dart';
void main() {
SugarFast.initialize(
devMode: kDebugMode,
);
runApp(MyApp());
}
3. Use Everything #
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}');
}
}
ποΈ Individual Packages (Advanced Users) #
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)
π Documentation #
- Riverpod Sugar Docs - Available now
- Sugar UI Docs - Coming soon
- Sugar Connect Docs - Coming soon
- Sugar Themer Docs - Coming soon
πΊοΈ Development Roadmap #
Phase 1 - State Management β #
- β Riverpod Sugar integration
- β Hub package structure
- β Unified initialization
Phase 2 - UI Components π§ #
- β Sugar UI package
- β Pre-built widgets
- β Customizable components
Phase 3 - Networking & APIs π§ #
- β Sugar Connect package
- β HTTP utilities
- β API helpers
Phase 4 - Theming & Design π§ #
- β Sugar Themer package
- β Advanced theming system
- β Design tokens
π Why Use Sugar Fast? #
Single Dependency #
Instead of managing multiple packages, add one dependency and get access to the entire Sugar ecosystem.
Unified API #
All Sugar packages work together seamlessly with consistent APIs and patterns.
Future-Proof #
As new Sugar packages are released, they're automatically included in Sugar Fast updates.
Optional Granularity #
Need fine control? You can still install individual packages separately.
π¦ Package Details #
Current Size #
- Riverpod Sugar: Enhanced state management utilities
Coming Soon #
- 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
π€ Contributing #
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...
Contribution Guidelines #
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
π License #
MIT License - see LICENSE for details.
π Links #
Built with β€οΈ for the Flutter community
Making Flutter development faster, one package at a time.