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: flutter:
assets: assets:
- test_asset.db - 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 version: 1.0.0+1
environment: environment:
sdk: ">=2.17.6 <3.0.0" sdk: ">=2.17.6 <4.0.0"
dependencies: dependencies:
drift: ^2.0.2+1 drift: ^2.0.2+1
sqlcipher_flutter_libs: ^0.5.1 sqlcipher_flutter_libs: ^0.5.1
@ -24,7 +25,3 @@ dev_dependencies:
flutter: flutter:
uses-material-design: true 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 sdk: flutter
integration_test: integration_test:
sdk: flutter 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 FlutterMacOS
import Foundation import Foundation
import sqflite
import sqlite3_flutter_libs import sqlite3_flutter_libs
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin")) Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
} }