mirror of https://github.com/AMT-Cheif/drift.git
Fix dependency conflicts in some examples
This commit is contained in:
parent
07fe555753
commit
ba9360f063
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue