uzmaps_core

The foundation of the UzMaps Flutter surfaces. Zero third-party dependencies: everything a plugin would drag in is one interface away instead.

  • Design tokens — brand colors, spacing, radii, shadows and the motion vocabulary (durations, curves, a physical spring) in one file.
  • Motion engine — press feedback, staggered list entrances, shimmer skeletons, fade-through transitions, count-up text and a pulse marker.
  • Strings — every interface string in Uzbek Latin, Uzbek Cyrillic, Russian and English, switchable at runtime.
  • Geo & formatting — haversine distance, distance/duration/clock formatting, units-aware, localized day labels.
  • State & stores — observable app settings, saved places, a trip journal, and a tiny JSON-file key/value store (memory fallback on the web).

Install

dependencies:
  uzmaps_core: ^1.0.0

Use

import 'package:uzmaps_core/uzmaps_core.dart';

// Tokens, everywhere, instead of literals.
padding: const EdgeInsets.all(UzSpacing.lg),

// Motion vocabulary.
duration: UzMotion.standard, // 240 ms
curve: UzMotion.smooth,      // easeInOutCubic

// Four languages, one call.
S.t('cat.food.cafe'); // 'Kafe' / 'Кафе' / 'Cafe'

// Formatting that respects units and language.
formatDistance(1250); // '1.25 km'

The UzMaps family

Package Role
uzmaps_core tokens, motion, strings, state — you are here
uzmaps_api the typed UzMap server client
uzmaps_ui the design system on top of core
uzmaps_kit the complete map experience

License

BSD-3-Clause. See LICENSE.

Libraries

uzmaps_core
uzmaps_core — the foundation of every UzMaps Flutter surface.