From 4ad82c1f776bec382af1597d85d9618b7f705e52 Mon Sep 17 00:00:00 2001 From: krawieck Date: Sat, 16 Jan 2021 23:33:11 +0100 Subject: [PATCH] transition away from deprecated argument child -> builder --- lib/widgets/info_table_popup.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/info_table_popup.dart b/lib/widgets/info_table_popup.dart index 21197a87..0e88689e 100644 --- a/lib/widgets/info_table_popup.dart +++ b/lib/widgets/info_table_popup.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; void showInfoTablePopup(BuildContext context, Map table) { showDialog( context: context, - child: SimpleDialog( + builder: (c) => SimpleDialog( contentPadding: const EdgeInsets.symmetric( horizontal: 20, vertical: 15,