Skip to content

Commit

Permalink
5.6.0+1
Browse files Browse the repository at this point in the history
  • Loading branch information
Drawner committed Nov 13, 2024
1 parent 0abff89 commit 3033eee
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@

## 5.6.0
## 5.6.0+1
November 15, 2024
- Introduce setBuilder() in every Controller. Will rebuild with every setState() call.
- Replacing stateSet(WidgetBuilder? builder) with the name, setBuilder in class, StateX and AppStateX
- class StateXController now includes mixin, ChangeNotifier and ListenableWidgetBuilderMixin
- Updated example app

## 5.5.0
October 14, 2024
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,10 @@ class _RandomCatState extends ImageAPIStateX<RandomCat> {

/// Supply a 'splash screen' while the FutureBuilder is processing.
@override
Widget? onSplashScreen(BuildContext context) => const SplashScreen();
Widget? onSplashScreen(BuildContext context) {
// Return if possibly running in Testing
if(WidgetsBinding.instance is! WidgetsFlutterBinding){
return null;
}
return const SplashScreen();}
}
4 changes: 2 additions & 2 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description: Example app demonstrating the use of the StateX package.
# 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: 1.0.1
version: 1.1.0

homepage: https://www.andrioussolutions.com
repository: https://github.com/AndriousSolutions/statex/tree/master/example
Expand Down Expand Up @@ -62,7 +62,7 @@ flutter:

# To add assets to your application, add an assets section, like this:
assets:
- assets/images/
- assets/images/

# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ packages:
path: example
relative: true
source: path
version: "1.0.1"
version: "1.1.0"
fake_async:
dependency: transitive
description:
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: 5.6.0
version: 5.6.0+1
homepage: https://www.andrioussolutions.com
repository: https://github.com/AndriousSolutions/state_extended

Expand Down

0 comments on commit 3033eee

Please sign in to comment.