obrigado pelo auxilio Leonardo, agora estou enfrentando um novo problema, estou tendo esse erro:
Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
E/SQLiteLog( 5456): (1) incomplete input in "CREATE TABLE contacts(id INTEGER PRIMARY KEY, name TEXT, account_number INTEGER"
E/flutter ( 5456): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: DatabaseException(incomplete input (code 1 SQLITE_ERROR): , while compiling: CREATE TABLE contacts(
id INTEGER PRIMARY KEY, name TEXT, account_number INTEGER) sql 'CREATE TABLE contacts(id INTEGER PRIMARY KEY, name TEXT, account_number INTEGER ' args []}
E/flutter ( 5456): #0 wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 5456):
E/flutter ( 5456): #1 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:321:14)
E/flutter ( 5456):
E/flutter ( 5456):
E/SQLiteLog( 5456): (1) no such table: contacts in "INSERT INTO contacts (id, name, account_number) VALUES (?, ?, ?)"
E/flutter ( 5456): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: DatabaseException(no such table: contacts (code 1 SQLITE_ERROR): , while compiling: INSERT INTO con
tacts (id, name, account_number) VALUES (?, ?, ?)) sql 'INSERT INTO contacts (id, name, account_number) VALUES (?, ?, ?)' args [0, juquinha, 101]}
E/flutter ( 5456): #0 wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 5456):
E/flutter ( 5456): #1 SqfliteDatabaseMixin.txnRawInsert. (package:sqflite_common/src/database_mixin.dart:394:14)
E/flutter ( 5456):
E/flutter ( 5456): #2 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
E/flutter ( 5456):
E/flutter ( 5456): #3 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:346:14)
E/flutter ( 5456):
E/flutter ( 5456): #4 main. (package:bytebank_p2/main.dart)
E/flutter ( 5456):
E/flutter ( 5456):