flutter_shared_model 1.3.1 copy "flutter_shared_model: ^1.3.1" to clipboard
flutter_shared_model: ^1.3.1 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.3.0 - 2024-09-28 #

Added #

  • Complete interface synchronization with TypeScript insach-shared-model
  • All missing interfaces: Review, ReviewReport, SupportNote, SupportMessage
  • NotificationTemplate, ThaliComponent, ThaliCustomization interfaces
  • Campaign, Category, MenuCategory, DishVariant interfaces
  • Complete type definitions: OrderTax, DeliveryTimeSlot, SupportNote, SupportMessage
  • 100% compatibility between Flutter and TypeScript shared packages

1.2.0 - 2024-09-28 #

Added #

  • Complete synchronization with TypeScript insach-shared-model
  • All missing enums: KitchenStatus, RecipientType, ProcessingStatus, etc.
  • Complete type definitions: KitchenCapacity, KitchenAddress, MenuCategory
  • ThaliPlan and LunchboxPlan structures
  • All support, review, and payout related enums
  • Full collection compatibility between Flutter and TypeScript shared packages

1.1.2 - 2024-09-28 #

Added #

  • Complete dietary information types: DietaryInfo, NutritionalInfo
  • BasePrice, TimeSlot, Recipe types for dishes and meal plans
  • DishVariant, DishCustomization types for dish customization
  • Added nonVegetarian to DietaryType enum
  • Full compatibility with admin panel dietary handling

1.1.1 - 2024-09-28 #

Added #

  • LocationData type for delivery tracking
  • Enhanced interfaces matching TypeScript shared model
  • DeliveryPerson, Payment, Refund, SupportTicket interfaces
  • KitchenDocument, UserNotification, Offer, Banner interfaces
  • FAQ, AuditLog interfaces for complete admin panel compatibility

1.1.0 - 2024-09-28 #

Added #

  • Address model for delivery persons and users
  • Coordinates for location data
  • DrivingLicense information
  • BackgroundCheck information
  • EmergencyContact information
  • WorkPreferences for delivery persons
  • PerformanceMetrics for delivery persons
  • Insurance information

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
0
likes
135
points
38
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shared data models, interfaces, and enums for Insach food delivery platform (Flutter/Dart version)

Homepage

License

MIT (license)

Dependencies

flutter, json_annotation

More

Packages that depend on flutter_shared_model