Skip to content

Commit

Permalink
Removing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
caduandrade committed Oct 26, 2024
1 parent 71ba7d6 commit 055ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/tabs_area_layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ class _TabsAreaLayoutRenderBox extends RenderBox
// fill last gap
if (gapBorderPaint != null) {
double lastX;
if (visibleTabs.length > 0) {
if (visibleTabs.isNotEmpty) {
RenderBox lastTab = visibleTabs.last;
TabsAreaLayoutParentData tabParentData =
lastTab.tabsAreaLayoutParentData();
Expand Down

0 comments on commit 055ba78

Please sign in to comment.