From 79f4a76c406e17a0de4dc11c7639252e14c80ce5 Mon Sep 17 00:00:00 2001 From: Vishnu Mohandas Date: Mon, 8 Feb 2021 14:13:36 +0530 Subject: [PATCH] Set default value for boolean arg --- lib/ui/gallery.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/gallery.dart b/lib/ui/gallery.dart index 33ea4f4bb..f284fa28e 100644 --- a/lib/ui/gallery.dart +++ b/lib/ui/gallery.dart @@ -35,7 +35,7 @@ class Gallery extends StatefulWidget { this.headerWidget, @required this.selectedFiles, @required this.tagPrefix, - this.isHomePageGallery, + this.isHomePageGallery = false, }); @override