milsat_modules_flutter

pub package License: MIT

A comprehensive Flutter package for geospatial data collection, user management, dynamic form rendering, data export/sync, and hierarchical location services. Built with feature-first Clean Architecture, each module is independent and can be used standalone or integrated together.


πŸš€ Features

  • 🧩 Common Module: Shared entities, error/result models, network utilities, and configuration
  • πŸ‘€ User Module: Authentication, user management, project compendium, white-label config, and verification address support
  • πŸ“ Form Module: Dynamic form rendering, validation, conditional logic, script evaluation, and reusable UI widgets
  • πŸ“Š Data Module: Data management, export, sync, survey entities, and configuration import
  • πŸ“ Location Module: Hierarchical location services, CSV-based data management, polling units, wards, LGAs, and more
  • πŸ—ΊοΈ Map Module: Advanced Mapbox integration, geometry drawing, work area visualization, undo/redo, and dynamic icon generation

πŸ“¦ Modules Overview

Module Description
Common Core entities, error/result models, config, network utils
User Auth, user management, compendium, white-label, verification
Form Dynamic forms, validation, conditional logic, UI widgets
Data Data management, export/sync, survey entities, config import
Location Hierarchical location, CSV data, polling units, LGAs, wards
Map Mapbox integration, geometry, work areas, icons, undo/redo

⚑ Quick Start

Add milsat_modules_flutter to your pubspec.yaml:

dependencies:
  milsat_modules_flutter: ^latest_version

Import the package:

import 'package:milsat_modules_flutter/milsat_modules_flutter.dart';

πŸ› οΈ Advanced Usage

Example: Initializing Location Service

import 'package:milsat_modules_flutter/milsat_modules_flutter.dart';

void main() {
  final locationService = LocationService();
  // Fetch hierarchical location data
}

Example: Using Map Module

import 'package:milsat_modules_flutter/milsat_modules_flutter.dart';

final mapService = MapService(geometryType: MapConstants.polygon);
// Use mapService for advanced mapping features

πŸ“– Documentation & Resources


πŸ†• Recent Changes

See CHANGELOG.md for the latest updates and release notes.


πŸ“„ License

This package is licensed under the MIT License. See LICENSE for details.