Skip to content

Commit

Permalink
Merge pull request #44 from leancodepl/chore/upgrade-bloc-cqrs
Browse files Browse the repository at this point in the history
Upgrade bloc to ^9.0.0 – CQRS package
  • Loading branch information
PiotrRogulski authored Jan 28, 2025
2 parents 16225ae + 5c7d27f commit ddb5099
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 304 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/leancode_cubit_utils_cqrs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: 3.2
sdk: 3.6

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: 3.19.x
flutter-version: 3.27.x
cache: true

- name: Publish and release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/leancode_cubit_utils_cqrs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
include:
- version: '3.19.x'
- version: '3.27.x'

defaults:
run:
Expand Down
4 changes: 4 additions & 0 deletions packages/leancode_cubit_utils_cqrs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.3.1

* Upgrade `bloc` to ^9.0.0

## 0.3.0

* Use `leancode_cubit_utils` version `0.3.1`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,12 @@ class FiltersRow extends StatelessWidget {
return Wrap(
spacing: 8,
children: [
...availableFilters
.map(
(filter) => FilterChip(
label: Text(filter.name),
selected: selectedFilters.contains(filter),
onSelected: (_) => toggleFilter(filter),
),
)
.toList(),
for (final filter in availableFilters)
FilterChip(
label: Text(filter.name),
selected: selectedFilters.contains(filter),
onSelected: (_) => toggleFilter(filter),
),
],
);
}
Expand Down
Loading

0 comments on commit ddb5099

Please sign in to comment.