Ao habilitar o "http:" no pubspec.yaml todo o sistema deu erro. Segue exemplo:
error: Target of URI doesn't exist: 'package:bytebanktwo/database/dao/contact_dao.dart'. (uri_does_not_exist at [bytebank] lib/database/app_database.dart:1)
error: Undefined name 'ContactDao'. (undefined_identifier at [bytebank] lib/database/app_database.dart:13)
error: Target of URI doesn't exist: 'package:bytebanktwo/database/app_database.dart'. (uri_does_not_exist at [bytebank] lib/database/dao/contact_dao.dart:1)
error: Target of URI doesn't exist: 'package:bytebanktwo/models/contact.dart'. (uri_does_not_exist at [bytebank] lib/database/dao/contact_dao.dart:2)
error: Undefined class 'Contact'. (undefined_class at [bytebank] lib/database/dao/contact_dao.dart:16)
error: The method 'getDatabase' isn't defined for the class 'ContactDao'. (undefined_method at [bytebank] lib/database/dao/contact_dao.dart:17)
error: Undefined class 'Contact'. (undefined_class at [bytebank] lib/database/dao/contact_dao.dart:22)
error: The name 'Contact' isn't a type so it can't be used as a type argument. (non_type_as_type_argument at [bytebank] lib/database/dao/contact_dao.dart:29)