Skip to content

Commit bd2f39e

Browse files
committed
7.4.0-prerelease10
1 parent 28fedbb commit bd2f39e

4 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 7.4.0-prerelease10
4+
5+
- Fixed an issue with the `assert` in `ThemedTable2` that was causing issues when `multiselectActions` is empty and `hasMultiselect` is false.
6+
37
## 7.4.0-prerelease9
48

59
- Some optimizations on `ThemedTable2`, and some props that supports development environment tools.

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ packages:
366366
path: ".."
367367
relative: true
368368
source: path
369-
version: "7.4.0-prerelease9"
369+
version: "7.4.0-prerelease10"
370370
leak_tracker:
371371
dependency: transitive
372372
description:

lib/src/table2/src/table.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class ThemedTable2<T> extends StatefulWidget {
9595
'If actionsCount is greater than 0, actionsBuilder must be provided',
9696
),
9797
assert(
98-
multiselectActions.length > 0 && hasMultiselect,
98+
(multiselectActions.length > 0 && hasMultiselect) || !hasMultiselect,
9999
'If hasMultiselect is true, multiselectActions must be provided',
100100
);
101101

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: layrz_theme
22
description: Layrz standard styling library for Flutter. Widget library following the Material Design 3 guidelines, with a focus on reliavility and functionality.
3-
version: "7.4.0-prerelease9"
3+
version: "7.4.0-prerelease10"
44
homepage: https://theme.layrz.com
55
repository: https://github.com/goldenm-software/layrz_theme
66

0 commit comments

Comments
 (0)