Skip to content

Commit

Permalink
Fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimibe authored Oct 14, 2022
1 parent 17a96e6 commit 0819d26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/sticky_grouped_list_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final List _elements = [
{'name': 'Danny', 'group': 'Team C'},
];
void main() {
Widget _buildGroupSeperator(dynamic element) {
Widget buildGroupSeperator(dynamic element) {
return Text(element['group']);
}

Expand All @@ -24,7 +24,7 @@ void main() {
groupBy: (dynamic element) => element['group'],
elements: _elements,
order: StickyGroupedListOrder.DESC,
groupSeparatorBuilder: _buildGroupSeperator,
groupSeparatorBuilder: buildGroupSeperator,
itemBuilder: (context, dynamic element) => Text(element['name']),
),
),
Expand All @@ -45,7 +45,7 @@ void main() {
body: StickyGroupedListView(
groupBy: (dynamic element) => element['group'],
elements: const [],
groupSeparatorBuilder: _buildGroupSeperator,
groupSeparatorBuilder: buildGroupSeperator,
itemBuilder: (context, dynamic element) => Text(element['name']),
),
),
Expand All @@ -61,7 +61,7 @@ void main() {
body: StickyGroupedListView(
groupBy: (dynamic element) => element['group'],
elements: _elements,
groupSeparatorBuilder: _buildGroupSeperator,
groupSeparatorBuilder: buildGroupSeperator,
itemBuilder: (context, dynamic element) => Text(element['name']),
),
),
Expand Down

0 comments on commit 0819d26

Please sign in to comment.