minigame_scrollshooter_loadingscreen 0.0.3 copy "minigame_scrollshooter_loadingscreen: ^0.0.3" to clipboard
minigame_scrollshooter_loadingscreen: ^0.0.3 copied to clipboard

Scroll shooter minigame that can be used as loading screen

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();
  }
}
1
likes
100
pub points
0%
popularity

Publisher

unverified uploader

Scroll shooter minigame that can be used as loading screen

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flame, flutter

More

Packages that depend on minigame_scrollshooter_loadingscreen