Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 808 Bytes

File metadata and controls

32 lines (23 loc) · 808 Bytes

Sembast flutter notepad example

Note pad demo using sembast based persistency. Online demo.

Works on Flutter iOS/Android/Web/MacOS/Linux/windows.

Simple sembast example:

  • Usage of StreamBuilder with Query.onSnapshots()
  • Works on the web using sembast_web
  • Works on flutter mobile using sembast_sqflite
  • Works on flutter desktop using sembast_sqflite and sqflite_common_ffi

Setup

Project files are not checked in, simply run:

flutter create .
flutter run

Example on windows

# (Optional) Delete/recreate existing project files
#            Might be needed when switching flutter branch
rmdir -Recurse -Force windows
flutter create --platforms windows .

# Run
flutter run -d windows