just import like this
import 'package:flutter/material.dart' hide Table; in your file, the one you created. here its app_database.dart not the app_database_g.dart - generated file.