AnimatedStarsView
AnimatedStarsView for Flutter
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,
)
],
),
),
),
);
}