Fix dependency conflicts in some examples

This commit is contained in:
Simon Binder 2023-06-01 11:23:57 +02:00
parent 07fe555753
commit ba9360f063
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
4 changed files with 2 additions and 15 deletions

View File

@ -27,7 +27,3 @@ dev_dependencies:
flutter:
assets:
- test_asset.db
dependency_overrides:
# Flutter's test packages don't support the latest analyzer yet.
test_api: ^0.4.16

View File

@ -5,7 +5,8 @@ publish_to: 'none'
version: 1.0.0+1
environment:
sdk: ">=2.17.6 <3.0.0"
sdk: ">=2.17.6 <4.0.0"
dependencies:
drift: ^2.0.2+1
sqlcipher_flutter_libs: ^0.5.1
@ -24,7 +25,3 @@ dev_dependencies:
flutter:
uses-material-design: true
dependency_overrides:
# Flutter's test packages don't support the latest analyzer yet.
test_api: ^0.4.16

View File

@ -21,7 +21,3 @@ dev_dependencies:
sdk: flutter
integration_test:
sdk: flutter
dependency_overrides:
# Flutter's test packages don't support the latest analyzer yet.
test_api: ^0.4.16

View File

@ -5,10 +5,8 @@
import FlutterMacOS
import Foundation
import sqflite
import sqlite3_flutter_libs
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
}