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 ↗