Skip to content

Commit

Permalink
4.23.0
Browse files Browse the repository at this point in the history
Took 14 minutes
  • Loading branch information
Drawner committed Aug 5, 2024
1 parent 82a3830 commit 6d562a3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

## 4.23.0
August 05, 2024
- @Deprecated('Use stateSet() instead.')
Widget state(WidgetBuilder? widgetFunc) {

## 4.22.1
August 05, 2024
- didUpdateWidget(StatefulWidget oldWidget) { to didUpdateWidget(covariant T oldWidget) {
Expand Down
4 changes: 2 additions & 2 deletions lib/state_extended.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2249,8 +2249,8 @@ mixin InheritedWidgetStateMixin on State {

/// Called when the State's InheritedWidget is called again
/// This 'widget function' will be called again.
// Widget stateSet(WidgetBuilder? widgetFunc) => state(widgetFunc);
// @Deprecated('Use stateSet() instead.')
Widget stateSet(WidgetBuilder? widgetFunc) => state(widgetFunc);
@Deprecated('Use stateSet() instead.')
Widget state(WidgetBuilder? widgetFunc) {
widgetFunc ??= (_) => const SizedBox.shrink();
return useInherited && this is StateX
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: state_extended
description: This class extends the capabilities of Flutter's State class and includes a controller.
version: 4.22.1
version: 4.23.0
homepage: https://www.andrioussolutions.com
repository: https://github.com/AndriousSolutions/state_extended

Expand Down

0 comments on commit 6d562a3

Please sign in to comment.