Cross-Platform Mobile Application
Maintaining healthy eating habits requires consistent tracking, but relying on cloud-based apps can lead to slow load times and privacy concerns. Users needed a fast, offline-first mobile application that allows them to log their daily meals and track basic health metrics without sacrificing data ownership or dealing with network delays.
I developed a cross-platform mobile application utilizing Flutter and Dart, ensuring a native-like experience on both iOS and Android from a single codebase.
To guarantee performance and privacy, I implemented SQLite for local data persistence. This allows users to instantly save meal logs and photos directly to their device. The app also features built-in utility modules, including a BMI calculator and a daily calorie tracker, providing immediate health insights.
// Dart/SQLite logic for inserting a new meal log
Future<void> insertMeal(Meal meal) async {
final db = await database;
await db.insert(
'meals',
meal.toMap(),
conflictAlgorithm: ConflictAlgorithm.replace,
);
}
Oct 2024 - Dec 2024
View the full Dart source code and SQLite implementation on GitHub.
Source Code