← Back to Tony's Portfolio

Baby Tracker App

A multilingual Flutter baby-care journal combining quick logging, persistent timers, weekly insights and calendar history, with separate baby profiles and tools to back up and export records.

Problem

Tracking feeding, sleeping, diaper changes, and reminders manually can quickly become difficult during busy daily routines.

Important patterns and schedules are easy to lose track of without a simple and reliable system.

Baby Tracker dashboard with baby selector, feeding tools and bottom navigation
Updated Today view with baby selection, feeding tools, repeat-feed shortcuts and Insights/History navigation.
Baby Tracker active sleep timer with editable start time
Earlier interface: an active sleep session with elapsed time and an editable start time.
Baby Tracker filtered activity timeline
Earlier interface: populated activity history with date and activity-type filters.
Baby Tracker backup, baby profiles, language and reminder settings
Settings for backup/export, baby profiles, language and reminders. Caregiver sharing is still in development.

Solution

I expanded Baby Tracker from a daily log into a care journal with Today, Insights and History views. Parents can record or repeat feeds, track sleep and breastfeeding sessions, review seven-day charts, and browse activities by date. Separate baby profiles keep histories and reminders organized.

Key Features

  • Quick feed and diaper logging, bottle amounts, repeat-last-feed shortcuts and persistent breastfeeding timers
  • Sleep timer that survives closing the app, with editable start times and completed-session entry
  • Missed activities, editable timestamps, deletion confirmation and undo
  • Seven-day insights with tappable charts and calendar history with activity markers
  • SQLite activity records with migration from the previous storage format
  • Local feeding reminders with a custom interval and visible scheduling status
  • English, Swedish and Vietnamese; dedicated night mode, themes and large-text layouts
  • Separate baby profiles with their own activity history, reminders and nursing drafts
  • Per-baby JSON backup and restore with a merge preview; CSV and translated text exports

Reliable records and recovery

Existing history is migrated into SQLite in a transaction, retaining the original data as a recovery copy. Sleep totals split correctly at local midnight. Reminder failures do not roll back saved activities, and edits, deletions and undo update the pending reminder. Automated tests cover migration, sleep recovery, reminder updates, filtering and large-text layouts.

Backups, exports and careful statistics

Backups apply to the selected baby. Restore validates the file and previews additions, duplicates and conflicts before merging without replacing existing records. CSV and readable text exports cover a chosen date range. Missing data is not estimated, and sleep is split across local dates. Backups contain personal notes and are not encrypted.

Current scope

Local tracking, manual backups and exports are available. Caregiver sharing is in development: account invitations, offline changes and conflict handling are implemented, but email setup and real two-phone verification remain pending. Android can delay reminders; iOS notification handling still needs verification on Apple hardware.

Tools Used

Flutter Dart SQLite / sqflite SharedPreferences flutter_local_notifications Timezone