Getting the exception “This will throw an exception in the future. For now it is displayed once per type” with the sqflite package on Flutter
I’m new to Flutter and facing some difficulties.
I’m building an expense tracking app and trying to implement a database using the sqflite package. However, whenever I attempt to add a new transaction, I get the exception ‘This will throw an exception in the future. For now it is displayed once per type’ in the debug console, and the app freezes. Am I misusing a callback function?
The Relevant code follows:
Getting the exception “This will throw an exception in the future. For now it is displayed once per type” with the sqflite package on Flutter
I’m new to Flutter and facing some difficulties.
I’m building an expense tracking app and trying to implement a database using the sqflite package. However, whenever I attempt to add a new transaction, I get the exception ‘This will throw an exception in the future. For now it is displayed once per type’ in the debug console, and the app freezes. Am I misusing a callback function?
The Relevant code follows: