From 791c26e7774116410050c16ce177c4d77718b215 Mon Sep 17 00:00:00 2001 From: phars002 Date: Wed, 26 Apr 2023 10:40:51 -0700 Subject: [PATCH] Fix for "Null check opeator used on null value" exception. --- lib/src/responsive_datatable.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/responsive_datatable.dart b/lib/src/responsive_datatable.dart index b985496..695afa8 100644 --- a/lib/src/responsive_datatable.dart +++ b/lib/src/responsive_datatable.dart @@ -379,6 +379,7 @@ class _ResponsiveDatatableState extends State { ), ), if (widget.isExpandRows && + widget.expanded != null && widget.expanded![index] && widget.dropContainer != null) widget.dropContainer!(data)