Skip to content

mirbostani/vingo-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vingo

A study helper application.

Features

v1.2.0+16

  • LaTeX Support
  • Study Mode (Flash Card Mode)
  • Deck Stats
  • Markdown Editor
  • Cards List
  • Card Context Menu
  • Search Cards
  • Search Decks
  • Deck Context Menu
  • Messenger
  • Shortcuts
  • Keyboard Shortcuts (Desktop)
  • Decks List
  • SQLite Database
  • Deck
  • Custom Font (Roboto)
  • About Dialog & License Page
  • Pages (Home, Settings, etc.)
  • Localization & Translation (en_US, fa_IR, etc.)
  • Light and Dark Themes
  • Font Resizing

Requirements

$ flutter --version
Flutter 2.6.0-6.0.pre.210 • channel master • https://github.com/flutter/flutter.git
Framework • revision 69ae50310b (41 minutes ago) • 2021-09-24 15:30:09 -0700
Engine • revision dcffd551cb
Tools • Dart 2.15.0 (build 2.15.0-144.0.dev)

Build

$ flutter run -d linux --release --no-sound-null-safety

Add Linux Support

We should modify Flutter to be able to build Vingo as a Linux desktop application. Accordingly, we have to switch from stable to master channel, and then upgrade our Flutter installation.

$ flutter channel master
$ flutter upgrade
$ flutter doctor # diagnose required tools

Next, we are required to install ninja-build on our Linux machine. It can be downloaded from here.

$ cd ~/Downloads
$ wget -c "https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-linux.zip"
$ unzip ninja-linux.zip
$ sudo mv ninja /usr/local/bin
$ cd /usr/local/bin
$ sudo chown root:root ninja
$ ninja --version

Now we have to enable Linux support:

$ cd /path/to/vingo
$ flutter precache --linux # populate tools cache
$ flutter config --enable-linux-desktop
$ flutter create . # download required packages

And finally, we can test by building Vingo for Linux:

$ flutter run -d linux