Vilsa — Dividend Tracker

A personal portfolio tracker: add your own markets and stocks, log every trade and dividend, and see how it is doing over any period.

Role
Solo — design and code
Platform
iOS & Android · 2025
Status
Archived · open source
Stack
Flutter · Provider · Firebase · fl_chart

The idea

I wanted a project built around numbers and charts, and a clean Flutter codebase I could share.

Vilsa tracks a portfolio you enter yourself. You define the markets, add stocks and log every buy and every dividend; the app does the maths: cost, returns, yield and an estimate of the dividends to come. It taught me what I set out to learn, so it is archived now, with its code open.

Design

Purple for trust and calm, away from the red and green that make finance apps feel tense.

I looked at existing trackers first, drew the main screens in Figma and refined the rest while building. The home screen is built around one chart: pick a period and every figure on the screen follows it. Entering data had to be quick, so prices format as you type, dates come from a picker, sensible defaults are filled in, and a swipe edits or deletes a transaction.

Engineering

The hard part was not storing the data. It was getting the numbers right.

Every figure comes from what the user typed, across several buy prices and dividends over time, and a small date or rounding slip shows up on every screen. The code follows MVVM with Provider: views stay thin, view models hold the state and the maths, services talk to Firebase, and charts are drawn with fl_chart.

Open source

The code is public, on purpose.

I wanted a clean Flutter example: a shared base view model, thin views, small services and reusable components. It shows how I structure an app, and anyone building their own tracker can start from it.

What I learned

Financial data forgives nothing.

Working with money made me exact about dates, ranges and rounding. Drawing the charts showed me that a chart is only as clear as the question it answers. A clean architecture made the project easy to come back to, and keeping the scope small is what let me finish it.

Screens

Technology

App
Flutter, Dart, Provider, MVVM
Data
Firebase Realtime Database, local cache
Charts
fl_chart
Input
Price formatting, date picker, swipe actions
Design
Figma

github.com/ahmetkadircicek/vilsa

Next project: Sevkiyatvar