0 purchases
starsview
AnimatedStarsView #
AnimatedStarsView for Flutter
Pure Dart implementation of AnimatedStarsView
Getting Started #
Step 1 #
Add library to your pubspec.yaml
dependencies:
starsview: '^0.0.1'
copied to clipboard
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,
)
],
),
),
),
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.