Skip to content

bartlebee13/binary-decision

Repository files navigation

Binary Decision

A minimal mobile app for making binary decisions through daily voting. Users set a question, vote yes/no daily for a predetermined number of votes, and review results at the end.

Primary Use Case: Help couples (or individuals) make important life decisions (e.g., "Should we have kids?") by tracking daily feelings over time without being influenced by seeing the running tally.

Core Principles

  • Minimal UX: Large, clear buttons with minimal distractions
  • Blind voting: Users cannot see vote tallies during the voting period
  • Intentional commitment: Votes cannot be changed once submitted
  • Daily ritual: Consistent daily prompts to build a habit

Tech Stack

  • Framework: Flutter 3.x
  • Language: Dart
  • Target Platform: Android (iOS planned for future)
  • Local Database: SQLite (sqflite)
  • State Management: Provider/Riverpod

Development Setup

Prerequisites

  1. Flutter SDK (via asdf):

    asdf plugin add flutter
    asdf install flutter 3.38.3
    asdf global flutter 3.38.3
  2. Android Studio (for Android SDK):

  3. Configure Android SDK path (if needed):

    flutter config --android-sdk ~/Applications/Android/Sdk
  4. Verify setup:

    flutter doctor

Running the App

# Get dependencies
flutter pub get

# Run on connected device or emulator
flutter run

# Run on Chrome (for quick testing)
flutter run -d chrome

Project Structure

lib/
├── main.dart           # App entry point
├── models/             # Data models (Decision, Vote)
├── screens/            # UI screens
├── widgets/            # Reusable widgets
├── services/           # Database, notifications, storage
├── providers/          # State management
└── utils/              # Constants and helpers

Features (MVP)

  • Question setup with vote count
  • Daily voting: Yes/No binary choice
  • Large, touch-friendly buttons
  • Optional notes per vote
  • Image uploads per vote
  • Vote history hidden during voting period
  • Results view with calendar visualization
  • Cannot change votes once submitted

License

Private - Not for distribution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •