How to do a database query with SQFlite in Flutter

Add the dependencies Open pubspec.yaml and in the dependencies section add the following lines: sqflite: ^1.0.0 path_provider: ^0.4.1 The sqflite is the SQFlite plugin of course and the path_provider will help us get the user directory on Android and iPhone. You can check the most up-to-date version numbers here: sqflite and path_provider. Make a database … Read more

Method “join” and class “DeepCollectionEquality” aren’t defined

I believe that you need to import the path library/package library as join is one of the functions of this library that is for manipulation paths. So it should simply be a matter of adding the respective import and the first problem should be resolved. import ‘package:path/path.dart’; The second is similar add import ‘package:collection/collection.dart’;

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)