Search packages, repositories and app categories

Package detailsv0.0.2

starsview

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

AndroidiOSWebmacOSWindowsLinux
30-day downloads
225
Likes
27
Pub points
0

Install package

flutter pub add starsview

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

StarsView is a Flutter package that creates an animated starry night sky effect within your app. It uses smooth, dynamic animations to simulate twinkling stars across a dark background, enhancing visual appeal for backgrounds or immersive interfaces. The widget supports multiple platforms including Android, iOS, Web, macOS, Windows, and Linux, making it versatile for cross-platform applications. With minimal setup via the pub add command, developers can easily integrate a visually engaging sky backdrop into their UIs.

Use cases

  • App splash screens
  • Backgrounds for dashboards
  • Immersive landing pages
  • Night mode UIs
  • Interactive storytelling apps

Key features

  • Animated twinkling stars
  • Cross-platform compatibility
  • Simple integration
  • Customizable star density
  • Smooth performance
  • Dark theme enhancement

Suitable for

  • UI designers seeking visual flair
  • Developers building themed apps
  • Projects requiring ambient background effects
  • Apps with nighttime or space themes
  • Creative digital experiences

Considerations

  • May impact performance on low-end devices
  • Limited customization beyond star appearance
  • Best suited for static or slow-moving UIs
  • Not ideal for high-traffic interactive elements
  • Requires careful contrast management with foreground content

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

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.2'
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,  
	    )  
	  ],  
	),  
      ),  
    ),  
  );  
}

Categories

Dependencies

Dependency list 1 items

  • plugin_platform_interface^2.0.2

Source repository

Projects using this package

No data available yet.