isar / isar/hive

Contact Database code error

Open
#904 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Dart
Stars
4.4k
Forks
449
PR merge metrics
No merged PRs in 30d

Description

Using the posted code on github from the tutorial for Contacts (https://docs.hivedb.dev/#/tutorials/contacts) has an error. Line 68:
showDialog(
context: context,
barrierDismissible: true,
child: AlertDialog(.....

There is no longer a child argument for showDialog. The provided pubspec.yaml file was used.
The corrected code should read:

showDialog(
context: context,
barrierDismissible: true,
builder: (_) => AlertDialog(.....

environment:
sdk: ">=2.6.0 <3.0.0"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.