starsview 0.0.2 copy "starsview: ^0.0.2" to clipboard
starsview: ^0.0.2 copied to clipboard

AnimatedStarsView for Flutter. The widget provides a view with an animated starry night sky effect.

AnimatedStarsView #

starsview

AnimatedStarsView for Flutter

Alt Text

Pure Dart implementation of AnimatedStarsView

Getting Started #

Step 1 #

Add library to your pubspec.yaml

dependencies:
  starsview: '^0.0.1'

Step 2 #

Add StarsView to your widget tree

@override  
Widget build(BuildContext context) {  
  return MaterialApp(  
    home: Scaffold(  
      body: SafeArea(  
	child: Stack(  
	  children: <Widget>[  
	    Container(  
	      decoration: const BoxDecoration(  
	        gradient: LinearGradient(  
		  begin: Alignment.topRight,  
		  end: Alignment.bottomLeft,  
		  colors: <Color>[  
		    Colors.red,  
		    Colors.blue,  
		  ],  
		)  
	      )  
	    ),  
	    StarsView(  
	      fps: 60,  
	    )  
	  ],  
	),  
      ),  
    ),  
  );  
}
25
likes
140
points
144
downloads

Publisher

unverified uploader

Weekly Downloads

AnimatedStarsView for Flutter. The widget provides a view with an animated starry night sky effect.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on starsview