Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Riccardo Baldassa committed Jul 1, 2024
1 parent 5d8da3b commit 14e9b35
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/widget/table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ class ExpandableTable extends StatefulWidget {
this.visibleScrollbar = false,
this.trackVisibilityScrollbar,
this.thumbVisibilityScrollbar,
}) : assert((firstHeaderCell != null && rows != null && headers != null) ||
controller != null);
}) : assert(((firstHeaderCell != null && rows != null && headers != null) ||
controller != null) &&
!(thumbVisibilityScrollbar == false &&
(trackVisibilityScrollbar ?? false)));

@override
State<ExpandableTable> createState() => _ExpandableTableState();
Expand Down

0 comments on commit 14e9b35

Please sign in to comment.