v0.0.2
starsview
适用于 Flutter 的 AnimatedStarsView。该小部件提供带有动态星空夜空效果的视图。
27喜欢 225近 30 天下载0Pub 分数
AndroidiOSWebmacOSWindowsLinux
适用于 Flutter 的 AnimatedStarsView
以下为英文项目原文快照,最新内容请访问 GitHub。
AnimatedStarsView for Flutter
Pure Dart implementation of AnimatedStarsView
Add library to your pubspec.yaml
dependencies:
starsview: '^0.0.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,
)
],
),
),
),
);
}
依赖清单 5 项
{"sdk":"flutter"}{"sdk":"flutter"}^2.0.2{"sdk":"flutter"}^2.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗