flutter_dev_catalyst 1.0.2
flutter_dev_catalyst: ^1.0.2 copied to clipboard
A comprehensive Flutter plugin that accelerates development with smart automation, reducing boilerplate code and development time by 60%.
Flutter Dev Catalyst π #
A comprehensive Flutter plugin that accelerates development with smart automation, reducing boilerplate code and development time by 60%.
Features β¨ #
- π API Client - Built-in HTTP client with error handling and retries
- πΎ Storage - Local and secure storage services
- β Validators - 20+ built-in form validators
- π¨ UI Components - Ready-to-use widgets
- π Theme Manager - Easy light/dark mode switching
- π Responsive - Built-in responsive utilities
- π οΈ Extensions - 40+ helpful extensions
Installation π¦ #
Add this to your pubspec.yaml:
dependencies:
flutter_dev_catalyst: ^1.0.0
Then run:
flutter pub get
Quick Start π Initialize
import 'package:flutter_dev_catalyst/flutter_dev_catalyst.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await DevCatalyst.initialize(
apiBaseUrl: 'https://api.example.com',
enableLogging: true,
);
runApp(MyApp());
}
Use API Client
// GET request
// GET request
final response = await DevCatalyst.api.get('/users');
if (response.success) {
print(response.data);
}
// POST request
await DevCatalyst.api.post('/users', data: {'name': 'John'});
Storage
// Save data
await DevCatalyst.storage.saveString('key', 'value');
// Get data
final value = DevCatalyst.storage.getString('key');
// Secure storage
await DevCatalyst.secureStorage.saveAuthToken('token');
UI Components
CatalystButton.elevated(
text: 'Submit',
onPressed: () {},
)
CatalystTextField(
label: 'Email',
validators: [Validators.email],
)
Documentation π For detailed documentation, see the API reference.
Example π‘ Check out the example app for complete usage examples.
Contributing π€ Contributions are welcome! Please read our contributing guidelines first.
License π This project is licensed under the MIT License - see the LICENSE file for details.
Support β€οΈ If you find this package helpful, please give it a β on GitHub!