|
This project is for creating a calendar app using Table Calendar and Sqflite in Flutter. Create a SqfliteDatabase static Future<void> init() async { _db = await openDatabase(_dbpath,
try {
String _path = await getDatabasesPath();
String _dbpath = p.join(_path, 'cal1.db');
version: _version, onCreate: onCreate);
print(_version);
} catch (ex) {
print(ex);
}
}Table Calendar widget