Skip to content

Commit

Permalink
4.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Drawner committed May 18, 2024
1 parent 1c1df0c commit f2888e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

## 4.15.0
May 18, 2024
- _StateXInheritedWidget() to StateXInheritedWidget()
making it publicly available.

## 4.14.0
May 17, 2024
- class StateIn, now has abstract method:
Expand Down
8 changes: 4 additions & 4 deletions lib/state_extended.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ mixin InheritedWidgetStateMixin on State {
}
// buildIn() function must be used
return _useInherited && _buildInOverridden
? _StateXInheritedWidget(
? StateXInheritedWidget(
key: _key,
state: this as StateX,
child: _child ?? const SizedBox.shrink(),
Expand Down Expand Up @@ -2363,8 +2363,8 @@ mixin InheritedWidgetStateMixin on State {
}

/// The InheritedWidget used by StateX
class _StateXInheritedWidget extends InheritedWidget {
const _StateXInheritedWidget({
class StateXInheritedWidget extends InheritedWidget {
const StateXInheritedWidget({
super.key,
required this.state,
required super.child,
Expand Down Expand Up @@ -2748,7 +2748,7 @@ class _InheritedState extends State<_StateStatefulWidget> {
@override
Widget build(context) {
// The app's InheritedWidget
return _StateXInheritedWidget(
return StateXInheritedWidget(
key: _key,
state: appState,
child: _stateWidget!,
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.14.0
version: 4.15.0
homepage: https://www.andrioussolutions.com
repository: https://github.com/AndriousSolutions/state_extended

Expand Down

0 comments on commit f2888e3

Please sign in to comment.