petracore_flutter_frontend_starter 1.0.2
petracore_flutter_frontend_starter: ^1.0.2 copied to clipboard
A powerful CLI tool and package for generating Flutter projects with clean architecture, Firebase integration, and best practices.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.0 - 2024-09-03 #
Added #
- ๐ Initial release of PetraCore Flutter Frontend Starter
- ๐๏ธ Project initialization command (
petracore init) - ๐ Feature generation command (
petracore feature) - ๐ฅ Firebase integration support (Firestore, Analytics, Cloud Messaging)
- ๐งฉ BLoC pattern implementation with Hydrated BLoC
- ๐ฑ Responsive design with ScreenUtil
- ๐จ Comprehensive UI component library
- ๐ Secure storage and environment variable support
- ๐ฃ๏ธ Declarative navigation with GoRouter
- ๐ฆ Clean Architecture implementation
- ๐งช Testing infrastructure setup
- ๐ Comprehensive linting rules
- ๐ง VS Code configuration
- ๐ Detailed documentation and examples
Features #
- Project Generation: Complete Flutter project with clean architecture
- Feature Generation: Modular feature creation with data/presentation layers
- Firebase Setup: Pre-configured Firebase integration
- State Management: BLoC/Cubit with state persistence
- UI Components: Reusable buttons, inputs, scaffolds, loading states
- Network Layer: Dio HTTP client with logging and error handling
- Code Generation: Freezed models and JSON serialization
- Extensions: Useful string, context, and utility extensions
- Validation: Input validation and form handling patterns
Supported Platforms #
- โ iOS
- โ Android
- โ Web
- โ macOS
- โ Windows
- โ Linux
Dependencies #
- flutter_bloc ^8.1.3
- hydrated_bloc ^9.1.5
- go_router ^10.0.0
- flutter_screenutil ^5.4.0
- dio ^5.3.3
- firebase_core ^3.12.1
- cloud_firestore ^5.6.5
- And many more carefully selected packages
1.0.1 - 2024-09-16 #
Added #
- ๐จ AppBarV1 Component: Comprehensive app bar component with theming support
- Full integration with design tokens and theme system
- Multiple variants:
AppBarV1,AppBarV1Transparent,AppBarV1Secondary - Customizable properties: title, actions, colors, elevation, center title
- PreferredSizeWidget implementation for proper sizing
- ๐ TabBarV1 Component: Feature-rich tab bar component with theming
- Multiple variants:
TabBarV1,TabBarV1Scrollable,TabBarV1Minimal - Comprehensive customization: colors, text styles, indicators, padding
- Built-in hover and pressed state handling
- Scrollable support with proper physics
- Multiple variants:
- ๐๏ธ App Bars Directory: Added
app_bars/folder structure to project generation - ๐ง Project Generator Updates: Updated to include app bar components in generated projects
- ๐ฑ Sample Integration: Updated sample home screen to demonstrate AppBarV1 usage
- ๐จ Design System Integration: All components fully integrated with the app's design tokens
Improved #
- Enhanced project structure with proper app bar component organization
- Better component documentation and usage examples
- More consistent theming across all generated components
[Unreleased] #
Planned #
- ๐ฑ Additional UI components (date pickers, modals, etc.)
- ๐ง Custom theme generator
- ๐งช Enhanced testing templates
- ๐ CI/CD workflow templates
- ๐ฑ Platform-specific optimizations
- ๐จ Design system generator
- ๐ Plugin integration templates
- ๐ Analytics dashboard template
- ๐ Advanced authentication patterns
- ๐ Internationalization setup