Skip to content

Commit

Permalink
2.5.16
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-saplin committed Nov 27, 2024
1 parent 74e193e commit f1fd386
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.5.16
- Updating dependencies
- Fixing analyzer warnings

## 2.5.15
- `dart fromat .`

Expand Down
2 changes: 1 addition & 1 deletion lib/data_table_2.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/// Data table and Paginated data table widgets for Flutter
///
/// Copyright (c) 2021 Maxim Saplin
library data_table_2;
library;

export 'src/data_table_2.dart';
export 'src/paginated_data_table_2.dart';
2 changes: 1 addition & 1 deletion lib/src/paginated_data_table_2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ class PaginatedDataTable2State extends State<PaginatedDataTable2> {

if (_selectedRowCount == 0 && widget.header != null) {
headerWidgets.add(Expanded(child: widget.header!));
if (widget.header is ButtonBar) {
if (widget.header is OverflowBar) {
// We adjust the padding when a button bar is present, because the
// ButtonBar introduces 2 pixels of outside padding, plus 2 pixels
// around each button on each side, and the button itself will have 8
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: data_table_2
description: In-place substitute for Flutter's DataTable and PaginatedDataTable with fixed/sticky headers and few extra features
version: 2.5.15
version: 2.5.16
homepage: https://github.com/maxim-saplin/data_table_2
repository: https://github.com/maxim-saplin/data_table_2

Expand All @@ -18,8 +18,8 @@ dev_dependencies:
flutter_test:
sdk: flutter
vector_math: ^2.1.0
intl: ^0.19.0
flutter_lints: ^4.0.0
intl: ^0.20.0
flutter_lints: ^5.0.0
golden_toolkit: # Solving problem with not rendered fonts

screenshots:
Expand Down
2 changes: 2 additions & 0 deletions test/async_paginated_data_table2_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ void main() {
final TestWidgetsFlutterBinding binding =
TestWidgetsFlutterBinding.ensureInitialized();

dataTableShowLogs = false;

testWidgets('AsyncPaginatedDataTable2 paging', (WidgetTester tester) async {
final DessertDataSourceAsync source =
DessertDataSourceAsync(useKDeserts: true);
Expand Down

0 comments on commit f1fd386

Please sign in to comment.