We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e243f42 commit 0566832Copy full SHA for 0566832
βlib/src/showcase/showcase.dartβ
@@ -136,6 +136,10 @@ class Showcase extends StatefulWidget {
136
onBarrierClick == null || disableBarrierInteraction == false,
137
"can't use `onBarrierClick` & `disableBarrierInteraction` property "
138
'at same time',
139
+ ),
140
+ assert(
141
+ title != null || description != null,
142
+ 'title or description can\'t be null. Provide at least one of them',
143
);
144
145
/// Creates a showcase with a completely custom tooltip widget.
0 commit comments