Skip to content

Commit

Permalink
chore(deps): bump carousel_slider from 4.2.1 to 5.0.0 in /packages/sm…
Browse files Browse the repository at this point in the history
…ooth_app (#5590)

* chore(deps): bump carousel_slider in /packages/smooth_app

Bumps [carousel_slider](https://github.com/serenader2014/flutter_carousel_slider) from 4.2.1 to 5.0.0.
- [Release notes](https://github.com/serenader2014/flutter_carousel_slider/releases)
- [Changelog](https://github.com/serenader2014/flutter_carousel_slider/blob/master/CHANGELOG.md)
- [Commits](https://github.com/serenader2014/flutter_carousel_slider/commits)

---
updated-dependencies:
- dependency-name: carousel_slider
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Minor fix of breaking changes of carousel_slider

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Cirrus CI <[email protected]>
  • Loading branch information
dependabot[bot] and Cirrus CI authored Sep 19, 2024
1 parent 8596f0b commit e199455
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import 'package:carousel_slider/carousel_controller.dart';
import 'package:carousel_slider/carousel_slider.dart';
import 'package:flutter/material.dart';
import 'package:smooth_app/helpers/haptic_feedback_helper.dart';

Expand Down Expand Up @@ -34,7 +34,7 @@ class ExternalScanCarouselManager extends StatefulWidget {

class ExternalScanCarouselManagerState
extends State<ExternalScanCarouselManager> {
final CarouselController _controller = CarouselController();
final CarouselSliderController _controller = CarouselSliderController();

/// A hidden attribute to force to return to the Scanner tab
/// This value should only be accessed via [forceShowScannerTab], as it will
Expand Down Expand Up @@ -75,7 +75,7 @@ class ExternalScanCarouselManagerState
// Without an animation
void moveToSearchCard() => _controller.jumpToPage(0);

CarouselController get controller => _controller;
CarouselSliderController get controller => _controller;

bool updateShouldNotify(ExternalScanCarouselManagerState oldState) {
return oldState.currentBarcode != currentBarcode || _forceShowScannerTab;
Expand Down
4 changes: 2 additions & 2 deletions packages/smooth_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ packages:
dependency: "direct main"
description:
name: carousel_slider
sha256: "9c695cc963bf1d04a47bd6021f68befce8970bcd61d24938e1fb0918cf5d9c42"
sha256: "7b006ec356205054af5beaef62e2221160ea36b90fb70a35e4deacd49d0349ae"
url: "https://pub.dev"
source: hosted
version: "4.2.1"
version: "5.0.0"
characters:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion packages/smooth_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
async: 2.11.0
go_router: 14.2.7
barcode_widget: 2.0.4
carousel_slider: 4.2.1
carousel_slider: 5.0.0
cupertino_icons: 1.0.8
flutter_svg: 2.0.10+1
flutter_map: 7.0.2
Expand Down

0 comments on commit e199455

Please sign in to comment.