Skip to content

Commit

Permalink
feat(interface): require layoutId instead of layoutName
Browse files Browse the repository at this point in the history
  • Loading branch information
noxasch committed Apr 26, 2024
1 parent 8a69de6 commit 4f67904
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions app_widget_platform_interface/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 0.4.0
* breaking changes: `configureWidget` and `updateWidget` accept `layoutId` instead of `layoutName`

## 0.3.1

* update platform interface version

## 0.3.0

* support dart sdk 4.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ abstract class AppWidgetPlatform extends PlatformInterface {
Future<bool?> configureWidget({
String? androidPackageName,
int? widgetId,
String? widgetLayout,
int? layoutId,
Map<String, String>? textViews,
String? payload,
String? url,
Expand All @@ -52,7 +52,7 @@ abstract class AppWidgetPlatform extends PlatformInterface {
Future<bool?> updateWidget({
String? androidPackageName,
int? widgetId,
String? widgetLayout,
int? layoutId,
Map<String, String>? textViews,
String? payload,
String? url,
Expand Down
2 changes: 1 addition & 1 deletion app_widget_platform_interface/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: app_widget_platform_interface
description: Common platform interface for app_widget plugin.
version: 0.3.1
version: 0.4.0
homepage: https://noxasch.tech/
repository: https://github.com/noxasch/flutter_app_widget/tree/master/app_widget_platform_interface
issue_tracker: https://github.com/noxasch/flutter_app_widget/issues
Expand Down

0 comments on commit 4f67904

Please sign in to comment.