flutter_shared_model 1.0.0
flutter_shared_model: ^1.0.0 copied to clipboard
Shared data models, interfaces, and enums for Insach food delivery platform (Flutter/Dart version)
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-28 #
Added #
- Initial release of flutter_shared_model package
- Core enums for Insach food delivery platform
- Document enums for file management
- Helper functions for enum parsing and validation
- Type definitions for common data structures
- Interface definitions for forms and models
- Constants for database collections
- Complete synchronization with TypeScript insach-shared-model
Features #
- Core Enums: User roles, order statuses, payment methods, kitchen types, etc.
- Document Enums: Document types, verification statuses, storage paths
- Helper Functions: Enum parsing with fallback values, validation utilities
- Type Definitions: Base interfaces for addresses, coordinates, timestamps
- Constants: Centralized database collection names
- Interfaces: Form interfaces for user registration, kitchen setup, etc.
Technical Details #
- Dart SDK: >=3.0.0 <4.0.0
- Flutter SDK: Compatible with latest Flutter versions
- Dependencies: json_annotation for serialization support
- Dev Dependencies: build_runner, json_serializable for code generation