Ao rodar o app a tela cai na opção "Erro ao carregar tarefas"
Ao tentar adicionar uma tarefa o app volta pra essa mesma tela e no run aparece as seguintes mensagens.
I/flutter ( 5496): Iniciando o save:
I/flutter ( 5496): Recarregando a tela inicial
I/flutter ( 5496): Acessando find:
I/flutter ( 5496): Procurando tarefa com o nome: teste
E/SQLiteLog( 5496): (1) no such table: taskTable in "SELECT * FROM taskTable WHERE name = ?"
E/flutter ( 5496): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DatabaseException(no such table: taskTable (code 1 SQLITE_ERROR): , while compiling: SELECT * FROM taskTable WHERE name = ?) sql 'SELECT * FROM taskTable WHERE name = ?' args [teste]
E/flutter ( 5496): #0 wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496): #1 SqfliteDatabaseMixin.txnRawQuery.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:404:30)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496): #2 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496): #3 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496): #4 TaskDao.find (package:primeiro_projeto/data/task_dao.dart:73:47)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496): #5 TaskDao.save (package:primeiro_projeto/data/task_dao.dart:19:22)
E/flutter ( 5496): <asynchronous suspension>
E/flutter ( 5496):
I/flutter ( 5496): Acessando o findAll:
E/SQLiteLog( 5496): (1) no such table: taskTable in "SELECT * FROM taskTable"
D/EGL_emulation( 5496): app_time_stats: avg=444.44ms min=4.50ms max=3741.92ms count=10