diff --git a/lib/models/app.dart b/lib/models/app.dart index 332f301..dc7eb71 100644 --- a/lib/models/app.dart +++ b/lib/models/app.dart @@ -188,7 +188,7 @@ class App extends BaseApp with DataModelMixin { ); final i = await packageManager.getPackageInfo( - packageName: identifier, flags: flags); + packageName: identifier!, flags: flags); if (i == null) { return null; } @@ -284,7 +284,7 @@ mixin AppAdapter on Adapter { if (m != null) { for (final app in apps) { - queriedAtMap[app.identifier] = m; + queriedAtMap[app.identifier!] = m; } } } else { diff --git a/lib/models/app_curation_set.dart b/lib/models/app_curation_set.dart index 6d92066..11da409 100644 --- a/lib/models/app_curation_set.dart +++ b/lib/models/app_curation_set.dart @@ -21,7 +21,7 @@ class AppCurationSet extends BaseAppCurationSet Map toJson() => super.toMap(); - String get name => content.isNotEmpty ? content : identifier; + String get name => content.isNotEmpty ? content : identifier!; } mixin AppCurationSetAdapter on Adapter { diff --git a/lib/widgets/release_card.dart b/lib/widgets/release_card.dart index 30b8d48..eb2a7f0 100644 --- a/lib/widgets/release_card.dart +++ b/lib/widgets/release_card.dart @@ -28,7 +28,7 @@ class ReleaseCard extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text(release.version, + Text(release.version!, style: TextStyle(fontSize: 26, fontWeight: FontWeight.bold)), Gap(10), release.content.length < 3000 diff --git a/pubspec.lock b/pubspec.lock index 590de6d..57f347a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -916,12 +916,10 @@ packages: purplebase: dependency: "direct main" description: - path: "." - ref: "0.2.0" - resolved-ref: "9cd05ac29caaca742a16dc64608cae9751aa0eb1" - url: "https://github.com/purplebase/purplebase" - source: git - version: "0.1.1" + path: "../purplebase" + relative: true + source: path + version: "0.2.0" quiver: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 3334120..0c5093f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -52,10 +52,10 @@ dependencies: dependency_overrides: purplebase: - # path: ../purplebase - git: - url: https://github.com/purplebase/purplebase - ref: 0.2.0 + path: ../purplebase + # git: + # url: https://github.com/purplebase/purplebase + # ref: 0.2.0 flutter_data: git: url: https://github.com/zapstore/flutter_data