Flutter Calendar App Using TableCalendar & Sqflite

Flutter Calendar App Using TableCalendar & Sqflite

 

This project is for creating a calendar app using Table Calendar and Sqflite in Flutter.

 

Create a SqfliteDatabase 

 static Future<void> init() async {
    try {
      String _path = await getDatabasesPath();
      String _dbpath = p.join(_path, 'cal1.db');

      _db = await openDatabase(_dbpath,
          version: _version, onCreate: onCreate);
      print(_version);
    } catch (ex) {
      print(ex);
    }
  }

 

Table Calendar widget

 

Complete code find at below Github Link

 

Author Aphrx


More Projects