minigame_scrollshooter_loadingscreen

Last updated:

0 purchases

minigame_scrollshooter_loadingscreen Image
minigame_scrollshooter_loadingscreen Images
Add to Cart

Description:

minigame scrollshooter loadingscreen

ScrollShoter minigame #
This project is a starting and enging point of test for flutter flame lib usability
How to use #
Add ScrollShooterGame in your loading screen so it will be shown until long operation will be finished
class Loading extends StatefulWidget {
const Loading({Key? key}) : super(key: key);

@override
_LoadingState createState() => _LoadingState();
}

class _LoadingState extends State<Loading> {

void prepareStep() async {

// LongOperation instance = LongOperation();
// await instance.make();

await Future.delayed(const Duration(seconds: 15));

Navigator.pushReplacementNamed(context, '/home', arguments: {
'argument1': "something",
});
}

@override
void initState() {
super.initState();
prepareStep();
}

@override
Widget build(BuildContext context) {
return ScrollShooterGame();
}
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.