mirror of
https://github.com/Iconica-Development/flutter_start.git
synced 2025-05-18 18:13:45 +02:00
fix: always call the splashHandler with the splashScreenFuture and killswitchService when a splashScreenBuilder is provided
This commit is contained in:
parent
2c61f8d7db
commit
ada23abbc5
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
## 4.2.4
|
||||||
|
- Fixed the userstory to always call the splashScreenFuture and killswitchservice logic when a custom splashScreenBuilder is provided
|
||||||
|
|
||||||
## 4.2.3
|
## 4.2.3
|
||||||
- Added check if introduction should be shown according to the service before showing the introduction at all
|
- Added check if introduction should be shown according to the service before showing the introduction at all
|
||||||
|
|
||||||
|
|
|
@ -125,10 +125,11 @@ Widget _splashScreen(
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unawaited(splashHandler());
|
||||||
|
|
||||||
var builder = configuration.splashScreenBuilder;
|
var builder = configuration.splashScreenBuilder;
|
||||||
|
|
||||||
if (builder == null) {
|
if (builder == null) {
|
||||||
unawaited(splashHandler());
|
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: configuration.splashScreenBackgroundColor,
|
backgroundColor: configuration.splashScreenBackgroundColor,
|
||||||
body: Center(
|
body: Center(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
name: flutter_start
|
name: flutter_start
|
||||||
description: "Flutter_start is a package that allows you to jumpstart your application with a splashScreen, introduction and a home."
|
description: "Flutter_start is a package that allows you to jumpstart your application with a splashScreen, introduction and a home."
|
||||||
version: 4.2.3
|
version: 4.2.4
|
||||||
|
|
||||||
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
publish_to: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ dependencies:
|
||||||
package_info_plus: ">=8.0.0 <9.0.0"
|
package_info_plus: ">=8.0.0 <9.0.0"
|
||||||
flutter_introduction:
|
flutter_introduction:
|
||||||
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub
|
||||||
version: "^5.0.0"
|
version: ^5.0.0
|
||||||
flutter_introduction_shared_preferences:
|
flutter_introduction_shared_preferences:
|
||||||
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub/
|
hosted: https://forgejo.internal.iconica.nl/api/packages/internal/pub/
|
||||||
version: ^5.0.0
|
version: ^5.0.0
|
||||||
|
|
Loading…
Reference in a new issue