Skip to content

Commit

Permalink
Anallyzer warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-saplin committed Nov 16, 2023
1 parent edb917d commit 94a829c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/src/data_table_2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class DataRow2 extends DataRow {
this.onSecondaryTapDown});

DataRow2.byIndex(
{int? index,
{super.index,
super.selected = false,
super.onSelectChanged,
super.color,
Expand All @@ -78,7 +78,7 @@ class DataRow2 extends DataRow {
super.onLongPress,
this.onSecondaryTap,
this.onSecondaryTapDown})
: super.byIndex(index: index);
: super.byIndex();

/// Specific row height, which will be used only if provided.
/// If not provided, dataRowHeight will be applied.
Expand Down
8 changes: 4 additions & 4 deletions test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ List<Dessert> _dessertsX3 = _desserts.toList()
i.carbs, i.protein, i.sodium, i.calcium, i.iron)));

class WidgetChildTypeFinder extends ChainedFinder {
WidgetChildTypeFinder(Finder parent, this.childType) : super(parent);
WidgetChildTypeFinder(super.parent, this.childType);

final Type childType;

Expand All @@ -620,7 +620,7 @@ class WidgetChildTypeFinder extends ChainedFinder {
}

class WidgetChildTextFinder extends ChainedFinder {
WidgetChildTextFinder(Finder parent, this.childTextIncludes) : super(parent);
WidgetChildTextFinder(super.parent, this.childTextIncludes);

final String? childTextIncludes;

Expand Down Expand Up @@ -648,7 +648,7 @@ class WidgetChildTextFinder extends ChainedFinder {
}

class WidgetChildIconFinder extends ChainedFinder {
WidgetChildIconFinder(Finder parent, this.iconData) : super(parent);
WidgetChildIconFinder(super.parent, this.iconData);

final IconData iconData;

Expand All @@ -670,7 +670,7 @@ class WidgetChildIconFinder extends ChainedFinder {
}

class WidgetChildSemanticsFinder extends ChainedFinder {
WidgetChildSemanticsFinder(Finder parent, this.tooltip) : super(parent);
WidgetChildSemanticsFinder(super.parent, this.tooltip);

final String tooltip;

Expand Down

0 comments on commit 94a829c

Please sign in to comment.