v2.0.0+2glass
允许将任何小部件转换为其“玻璃”或“磨砂玻璃”版本
135喜欢 93近 30 天下载150Pub 分数
AndroidiOSWebmacOSWindowsLinux
一个 Flutter 包,可将任何小部件转换为其玻璃版本
以下为英文项目原文快照,最新内容请访问 GitHub。
Easily convert any Widget into a glass / frosted glass version of itself, following the glassmorphism / glassmorphic design trend.
Add this to your package's pubspec.yaml file:
dependencies:
glass:
You can install packages from the command line:
$ pub get
..
Alternatively, your editor might support pub. Check the docs for your editor to learn more.
Now in your Flutter code, you can use:
import 'package:glass/glass.dart';
Simply call .asGlass() on the widget you want to convert to glass.
For example:
Container(
child: someChild,
).asGlass()
A full example can be found in the example directory
Visit my LinkedIn at https://www.linkedin.com/in/zaca
依赖清单 2 项
{"sdk":"flutter"}{"sdk":"flutter"}先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗