Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wutsi committed Apr 20, 2023
1 parent d5adf28 commit 769a880
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

## Changes

- upgrade to syncfusion_flutter_charts v21.1.41
- upgrade to badges v3.1.1

## [0.1.200] 2023-02-03

## Changes

- upgrade to gradle v8
- upgrade to kotlin v1.8.20
- upgrade to syncfusion_flutter_charts v21.0.0
Expand Down
16 changes: 9 additions & 7 deletions lib/src/badge.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ class SDUIBadge extends SDUIWidget {
@override
Widget toWidget(BuildContext context) => Badge(
key: id == null ? null : Key(id!),
elevation: elevation ?? 2,
badgeColor: toColor(backgroundColor) ?? Colors.red,
borderRadius: borderRadius == null
? BorderRadius.zero
: BorderRadius.all(Radius.circular(borderRadius!)),
shape: _toBadgeShape(shape),
badgeStyle: BadgeStyle(
elevation: elevation ?? 2,
badgeColor: toColor(backgroundColor) ?? Colors.red,
borderRadius: borderRadius == null
? BorderRadius.zero
: BorderRadius.all(Radius.circular(borderRadius!)),
shape: _toBadgeShape(shape),
padding: EdgeInsets.all(padding ?? 5.0),
),
position: _toBadgePosition(position),
padding: EdgeInsets.all(padding ?? 5.0),
badgeContent: caption != null
? Text(
caption!,
Expand Down
6 changes: 3 additions & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ packages:
name: badges
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
version: "3.1.1"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -741,14 +741,14 @@ packages:
name: syncfusion_flutter_charts
url: "https://pub.dartlang.org"
source: hosted
version: "20.4.38"
version: "21.1.41"
syncfusion_flutter_core:
dependency: transitive
description:
name: syncfusion_flutter_core
url: "https://pub.dartlang.org"
source: hosted
version: "20.4.38"
version: "21.1.41"
synchronized:
dependency: transitive
description:
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: SDUI make it easy to implement Server Driven UI pattern on flutter.
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.1.200
version: 0.1.201

environment:
sdk: ">=2.12.0 <3.0.0"
Expand All @@ -35,7 +35,7 @@ dependencies:
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.5

badges: ^3.0.0
badges: ^3.1.1
cached_network_image: ^3.2.3
camera: ^0.10.1
carousel_slider: ^4.2.1
Expand All @@ -61,7 +61,7 @@ dependencies:
qr_flutter: ^4.0.0
share_plus: ^6.3.0
search_choices: ^2.2.1
syncfusion_flutter_charts: ^21.0.0
syncfusion_flutter_charts: ^21.1.41
uuid: ^3.0.7
uni_links: ^0.5.1
url_launcher: ^6.1.7
Expand Down

0 comments on commit 769a880

Please sign in to comment.